-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(EMS-4063): declarations - modern slavery - textarea edge cases #3440
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ttbarnes
added
enhancement
New feature or request
feature
New functionality
tech
Technical debt/improvements
chore
Chore
labels
Dec 23, 2024
Zainzzkk
approved these changes
Jan 3, 2025
ttbarnes
merged commit Jan 3, 2025
3baf59a
into
main-declarations-modern-slavery
183 of 184 checks passed
ttbarnes
added a commit
that referenced
this pull request
Jan 25, 2025
* feat(EMS-4034): declarations - modern slavery - data model/creation (#3406) * feat(EMS-4034): declarations - modern slavery - data model * feat(EMS-4034): declarations - modern slavery - update db dump * feat(EMS-4034): update application creation * feat(EMS-4034): update get application query * feat(EMS-4034): fix typo * feat(EMS-4034): fix unit test * feat(EMS-4034): fix typos * feat(EMS-4034): simplify unit tests * feat(EMS-4037): declarations - modern slavery - intial page setup (#3407) * feat(EMS-4037): declarations - modern slavery - intial page setup * feat(EMS-4037): declarations - modern slavery - page intro * feat(EMS-4037): update unit test * feat(EMS-4037): fix content strings issue * feat(EMS-4038): declarations - modern slavery - conditional reasons (#3409) * feat(EMS-4038): declarations - modern slavery - conditional radios * feat(EMS-4038): declarations - modern slavery - conditional radios - e2e tests * feat(EMS-4038): declarations - modern slavery - conditional maximums * chore(EMS-4038): remove commented code * feat(EMS-4024): declarations - modern slavery - form validation (#3410) * feat(EMS-4038): declarations - modern slavery - conditional radios * feat(EMS-4038): declarations - modern slavery - conditional radios - e2e tests * feat(EMS-4038): declarations - modern slavery - conditional maximums * chore(EMS-4038): remove commented code * feat(EMS-4024): declarations - modern slavery - form validation * chore(e2e): cypress command improvements * feat(EMS-4024): improve e2e test coverage * chore(e2e): documentation improvements * feat(EMS-4024): readability improvement * feat(EMS-4034): declarations - modern slavery - update data model (#3411) * feat(EMS-4034): declarations - modern slavery - update data model * feat(EMS-4034): update unit test * style(EMS-4039): declarations - modern slavery - definition of terms (#3412) * style(EMS-4039): declarations - modern slavery - definition of terms * style(EMS-4039): update anti bribery expandable details * feat(EMS-4039): various code improvements * feat(EMS-4025-4045): declarations - modern slavery - data saving (#3413) * feat(EMS-4038): declarations - modern slavery - conditional radios * feat(EMS-4038): declarations - modern slavery - conditional radios - e2e tests * feat(EMS-4038): declarations - modern slavery - conditional maximums * chore(EMS-4038): remove commented code * feat(EMS-4024): declarations - modern slavery - form validation * chore(e2e): cypress command improvements * feat(EMS-4024): improve e2e test coverage * chore(e2e): documentation improvements * feat(EMS-4024): readability improvement * feat(EMS-4024): update ui saveData/gql declaration calls * feat(EMS-4024): declarations - modern slavery - save data call * feat(EMS-4025-4045): declarations - modern slavery - data saving * feat(EMS-4025-4045): update sql dump * chore(tests): remove .only * feat(EMS-4025-4045): minor code improvements * feat(EMS-4025-4045): address todo comment * feat(EMS-4025-4045): fix/update unit tests * chore(ui): simplify company details controller * chore(ui): simplify company details controller * chore(ui): simplify company details controller * feat(EMS-4025-4045): fix modern slavery 'no' radio selection issue * chore(linting): fix linting issue * feat(EMS-4046): declarations - modern slavery - save and back (#3418) * feat(EMS-4046): declarations - modern slavery - map and save functions * feat(EMS-4046): declarations - modern slavery - save and back * chore(tests): minor readability improvements * feat(EMS-4046): fix/update e2e tests * feat(EMS-4041): declarations - modern slavery - user flow updates (#3420) * feat(EMS-4041): declarations - modern slavery - user flow updates * feat(EMS-4041): update e2e tests * feat(EMS-4041): fix/update e2e tests * feat(EMS-4041): fix/update e2e tests * feat(EMS-4041): fix merge issue * feat(EMS-4041): fix/update e2e tests * feat(EMS-4059): task list - declarations - modern slavery (#3437) * feat(EMS-4059): task list - declarations - modern slavery * feat(EMS-4059): fix/update e2e tests * feat(EMS-4059): fix/udpate e2e test * feat(EMS-4060): declarations - modern slavery - change answers (#3438) * style(EMS-4040-4044-4047): declarations - modern slavery - external links (#3439) * feat(EMS-4063): declarations - modern slavery - textarea edge cases (#3440) * feat(EMS-4063): declarations - modern slavery - handle textarea edge cases * chore(EMS-4068): fix/update cannot skip flow logic * feat(EMS-4063): fix/update textarea data saving * feat(EMS-4063-4068): fix/update e2e tests * feat(EMS-4026): application submission - xlsx - modern slavery fields * feat(EMS-4026): fix typo * chore(EMS-4058): application submission - declarations - e2e improvements (#3443) * chore(EMS-4058): application submission - declarations e2e improvements * chore(EMS-4058): improve e2e test description * chore(EMS-4058): fix/update e2e tests * chore(EMS-4058): fix/update e2e tests * chore(EMS-4058): fix/update e2e tests * chore(EMS-4058): fix/update e2e test * chore(EMS-4058): fix/update e2e test * chore(EMS-4058): update todo comment * feat(EMS-4035): declarations - modern slavery - data migration (#3408) * feat(EMS-4035-4042): declarations - modern slavery - data migration * feat(EMS-4035-4042): fix typo * feat(EMS-4035-4042): fix typo * feat(EMS-4035): update data migration script * feat(EMS-4035): fix data migration issues * feat(EMS-4035): update README.md * feat(EMS-4035): data migration - application version * feat(EMS-4035): data migration - clean up * feat(EMS-4035): update declaration versions * feat(EMS-4035): data migration - non submitted applications only * feat(EMS-4035): data migration - clean up * feat(EMS-4035): data migration - migratedTo flag * feat(EMS-4035): update README.md * feat(EMS-4035): update sql dump, keystone schema * feat(EMS-4035): fix typo * feat(EMS-4026): update e2e tests * feat(EMS-4026): conditional xlsx mapping * style(EMS-4026): xlsx copy update * feat(EMS-4026): documentation improvement * chore(EMS-4026): remove commented code * feat(EMS-4026): improve unit test * feat(EMS-4026): improve unit tests * chore(types): add missing declaration types * chore(api): improve getPopulatedApplication error handling * feat(EMS-4026): fix/update unit tests * chore(EMS-4026): fix/update mapPolicy issue * feat(EMS-4026): fix populated application issue * feat(EMS-4026): improve objectHasKeysAndValues checks * feat(EMS-4026): fix typo * style(EMS-4136): declarations - content iterations (#3490) * style(EMS-4136): declarations - modern slavery - content iterations * style(EMS-4136): fix typo * style(EMS-4136): content update * fix(EMS-4137-4138): declarations - modern slavery - form validation (#3492) * fix(EMS-4317): declarations - modern slavery - error mssages * fix(EMS-4137): declarations - modern slavery - validation - submitted values * chore(docs): improve declarations - modern slavery nunjucks documentation * fix(EMS-4137-4138): fix typo * fix(EMS-4138): declarations - modern slavery - error messages (#3496) * chore(EMS-4142): merge main into main-declarations-modern-slavery (#3495) * chore(EMS-3957): dry countries, currencies calls (#3219) * chore(EMS-3957): create new getApimCountriesAndCurrencies graphql resolver * chore(EMS-3957): create getCountriesAndCurrencies graphql resolver * chore(EMS-3957): update ui controller to use getCountriesAndCurrencies query * chore(ui): remove unused gql query * chore(ui): remove unused gql query * chore(EMS-3957): improve unit test coverage * chore(EMS-3957): address todo comment * chore(EMS-3957): fix gql resolver, documentation improvements * chore(EMS-3957): fix unit test * chore(EMS-3957): fix/update unit test * chore(EMS-3957): fix/update countries/currencies queries * chore(EMS-3957): fix typo * chore(EMS-3957): simplify unit tests * chore(EMS-3957): fix/update unit test * chore(EMS-3810): dry cypress commands for empty field values (#3249) * chore(EMS-3810): dry cypress commands for empty field values * chore(EMS-3810): fix/update cypress command * chore(EMS-3968): rename formToStopAt cypress command params (#3290) * chore(EMS-3968): rename formToStopAt cypress command params * chore(EMS-3968): rename formToStopAt cypress command params * chore(deps): bump dependencies (#3276) * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(EMS-3950): remove mysql2 package * chore(deps): bump dependencies * chore(EMS-3970): add missing %o to console error logs (#3293) * chore(EMS-3971): simplify some pageVariables, add documentation (#3294) * chore(EMS-3971): add missing pageVariables documentation, remove POST_ROUTES * chore(EMS-3971): add missing pageVariables documentation, remove POST_ROUTES * chore(EMS-3980): remove unnecessary 'should exist' e2e assertions (#3296) * chore(EMS-4005): remove unnecessary expectedErrorsCount params (#3320) * chore(deps): bump dependencies * chore(EMS-3983): dry heading caption cypress selectors (#3298) * chore(EMS-3983): create HEADING_CAPTION data-cy core page variable * chore(EMS-3983): remove duplicate headingCaption cypress selector * chore(EMS-3983): fix types * chore(EMS-3983): fix/update e2e tests * chore(EMS-3539): improve xlsx styled column functions (#3251) * chore(EMS-3539): improve xlsx styled column functions * chore(EMS-3539): improve xlsx styled column functions * chore(EMS-3539): improve xlsx generation functions * chore(EMS-3539): add missing unit test * chore(EMS-3539): improve documentation * chore(EMS-3539): fix/update unit test * chore(EMS-3539): fix typo * chore(tests): fix date related unit test * chore(EMS-3960): improve country mapping helper functions (#3246) * chore(EMS-3960): improve cis country mapping helpers * chore(EMS-3960): improve cis country mapping helpers * chore(EMS-3960): improve cis country mapping helpers * chore(EMS-3960): cis mapping - rename riskCategory to esraClassification * chore(EMS-3960): simplify cis mapping function * chore(EMS-3960): fix merge/linting issue * chore(EMS-3960): rename all instances of riskCategory to esraClassification * chore(EMS-3960): remove any type * chore(EMS-3960): simplify cis mapping function * chore(EMS-3960): revert cis mapping function changes * chore(EMS-4001): merge main into main-iterations-2 (#3311) * chore(EMS-3966): update dependabot to run during non working hours (#3278) * chore(EMS-3966): update dependabot to run during non working hours * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run monthly * fix(EMS-3988): quote tool - type of policy - hint text * chore(main): release 2.36.1 (#3300) * fix(EMS-3988): regenerate api schema (#3301) * chore(main): release 2.36.2 (#3302) * fix(EMS-3988): apply - type of policy - hint text (#3305) * chore(main): release 2.36.3 (#3306) * chore(EMS-4019): account creation/sign in checks - dev environment (#3345) * chore(EMS-4019): account creation/sign in checks - dev environment * chore(EMS-4019): remove commented code * chore(EMS-4019): update afterAll * chore(tests): fix failing date test --------- Co-authored-by: Abhi Markan <32125108+abhi-markan@users.noreply.github.com> * chore(EMS-4031): reverts timing changes to dependabot.yml * feat(EMS-3993): multiple contract policy - small export builder content (#3372) * feat(EMS-3993): multiple contract policy export value - small export builder content * chore(EMS-3993): align application version constants * feat(EMS-3993): documentation improvement * chore(EMS-3969): align test descriptions (#3291) * chore(EMS-3969): align success boolean test descriptions * chore(EMS-3969): align 'render' test descriptions * chore(EMS-3969): align test descriptions * chore(EMS-3969): align test descriptions * chore(EMS-3969): fix typos * chore(EMS-3969): update various e2e test descriptions * feat(EMS-4000): application submission - conditional email template (#3397) * feat(EMS-4000): application submission - conditional email template * feat(EMS-4000): update email template id constant * feat(EMS-4000): application submission - conditional email template * feat(EMS-4000): improve e2e test coverage * feat(EMS-4000): remove commented code * feat(EMS-4000): content string improvements, align application versions * feat(EMS-4000): fix typo * feat(EMS-4000): fix typo * chore(docs): add missing documentation * feat(EMS-4000): fix unit tests * chore(EMS-4066): application eligibility - rename exit page (#3417) * chore(EMS-4066): application eligibility - rename contract too short exit page * chore(EMS-4066): application eligibility - rename contract too short exit page * chore(EMS-4066): fix typo * feat(EMS-3842): country risk logic - application - country rating, online support (#3416) * feat(EMS-3842): country risk logic - application - country rating * feat(EMS-3842): add country support logs to ui buyer country controllers * chore(EMS-3842): rename function * chore(EMS-3842): rename function * feat(EMS-3842): country risk logic - application - a/b rating conditions * feat(EMS-3842): country risk logic - application - c/d rating conditions * feat(EMS-3842): exit page condition - temporary comment out * feat(EMS-3842): rename country support flag * feat(EMS-3842): fix/update ui redirection logic * chore(EMS-3842): rename constant * feat(EMS-3842): update todo comment * feat(EMS-3842): address todo comments * feat(EMS-3842): address todo comment * feat(EMS-3842): fix typo * chore(EMS-3842): remove todo comment * feat(EMS-3842): fix/update tests * feat(EMS-3842): improve unit test coverage * feat(EMS-3842): fix quote generation * feat(EMS-3842): replace all instances of riskCategory * feat(EMS-3842): various code improvements/fixes * feat(EMS-3842): code improvements/fixes * feat(EMS-3842): fix/update querying issue * feat(EMS-3842): fix/update e2e tests * feat(EMS-3842): fix/update new console logs * chore(deps): bump dependencies * chore(EMS-4031): combine dependabot directories into 1 * chore(deps): bump dependencies * feat(EMS-4065): country risk logic - application - no support (#3419) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * chore(EMS-4031): changed dependabot npm schedule to monthly (#3429) Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * feat(EMS-4071): country risk logic - get a quote online (#3421) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * feat(EMS-4071): country risk logic - get a quote online * feat(EMS-4071): country risk logic - get a quote online * chore(deps): remove mysql2 * chore(deps): bump dockerfile node alpine version * feat(EMS-4074): country risk logic - cannot get a quote (#3422) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * feat(EMS-4074): country risk logic - cannot get a quote * feat(EMS-4074): fix tests * chore(EMS-4075): country risk logic - remove canGetAQuoteOffline flag (#3423) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * chore(EMS-4075): country risk logic - remove canGetAQuoteOffline flag * feat(EMS-4073): country risk logic - remove canGetAQuoteByEmail flag (#3424) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * feat(EMS-4073): country risk logic - remove canGetAQuoteByEmail flag * feat(EMS-4073): fix typo * feat(EMS-4073): fix merge issue * chore(EMS-4076-4077): improve buyer country unit tests (#3433) * chore(EMS-4076): improve buyer country unit tests * chore(EMS-4076): improve ui country mocks * chore(EMS-4079): country risk logic - simplify/improve mapping function (#3436) * chore(EMS-4067-4070): country risk logic - e2e improvements (#3435) * chore(gql): remove unused field * chore(EMS-4067-4070): e2e fixture improvements * chore(EMS-4067-4070): buyer country e2e improvements * chore(EMS-4067-4070): e2e improvements * chore(EMS-4067): fix typo * chore(EMS-4067): fix typo * chore(EMS-4067-4070): fix/update e2e tests * feat(EMS-4067): fix/update e2e tests * chore(EMS-4067-4070): fix/update e2e tests * chore(EMS-4067-4070): fix/update e2e tests * chore(EMS-4067-4070): fix/update e2e tests * feat(EMS-4087): application submission - small export builder - non gbp (#3442) * feat(EMS-4086): add apim currencies exchange helper * feat(EMS-4087): update application submission template id logic * feat(EMS-4086-4087): fix/update currency exchange logic * feat(EMS-4086-4087): add e2e test * chore(EMS-4086): improve unit test coverage * feat(EMS-4086): fix typo * feat(EMS-4086-4087): improve e2e coverage * feat(EMS-4086): fix/update unit test * feat(EMS-4086): improve application submission template id logic * fix(EMS-4088): application submission - small export builder calculation (#3444) * chore(EMS-4089): merge main into main-iterations-2 (#3445) * chore(EMS-3966): update dependabot to run during non working hours (#3278) * chore(EMS-3966): update dependabot to run during non working hours * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run monthly * fix(EMS-3988): quote tool - type of policy - hint text * chore(main): release 2.36.1 (#3300) * fix(EMS-3988): regenerate api schema (#3301) * chore(main): release 2.36.2 (#3302) * fix(EMS-3988): apply - type of policy - hint text (#3305) * chore(main): release 2.36.3 (#3306) * chore(deps): bump dependencies * chore(EMS-4019): account creation/sign in checks - dev environment (#3345) * chore(EMS-4019): account creation/sign in checks - dev environment * chore(EMS-4019): remove commented code * chore(EMS-4019): update afterAll * chore(tests): fix failing date test * chore(EMS-4031): test dependabot changes (#3350) * chore(EMS-4031): added restriction to package verions in package.jsons * chore(EMS-4031): updated package.lock.json * chore(EMS-4031): change to 1600 * chore(EMS-4031): revert package.json and add ignores to dependabot.yml * chore(EMS-4031): add ignores to dependabot.yml * chore(EMS-4031): changed dependabot time * chore(EMS-4031): add ignores to dependabot.yml (#3388) * chore(EMS-4031): add ignores to dependabot.yml (#3398) Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * chore(EMS-4031): reverts timing changes to dependabot.yml * chore(deps): bump dependencies * chore(EMS-4031): combine dependabot directories into 1 * chore(deps): bump dependencies * chore(EMS-4031): changed dependabot npm schedule to monthly (#3429) Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * chore(deps): remove mysql2 * chore(deps): bump dockerfile node alpine version --------- Co-authored-by: Abhi Markan <32125108+abhi-markan@users.noreply.github.com> Co-authored-by: zainZzKk <51957827+Zainzzkk@users.noreply.github.com> Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * chore(EMS-4095): merge main-iterations-2 into main (#3447) * chore(EMS-3957): dry countries, currencies calls (#3219) * chore(EMS-3957): create new getApimCountriesAndCurrencies graphql resolver * chore(EMS-3957): create getCountriesAndCurrencies graphql resolver * chore(EMS-3957): update ui controller to use getCountriesAndCurrencies query * chore(ui): remove unused gql query * chore(ui): remove unused gql query * chore(EMS-3957): improve unit test coverage * chore(EMS-3957): address todo comment * chore(EMS-3957): fix gql resolver, documentation improvements * chore(EMS-3957): fix unit test * chore(EMS-3957): fix/update unit test * chore(EMS-3957): fix/update countries/currencies queries * chore(EMS-3957): fix typo * chore(EMS-3957): simplify unit tests * chore(EMS-3957): fix/update unit test * chore(EMS-3810): dry cypress commands for empty field values (#3249) * chore(EMS-3810): dry cypress commands for empty field values * chore(EMS-3810): fix/update cypress command * chore(EMS-3968): rename formToStopAt cypress command params (#3290) * chore(EMS-3968): rename formToStopAt cypress command params * chore(EMS-3968): rename formToStopAt cypress command params * chore(deps): bump dependencies (#3276) * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(EMS-3950): remove mysql2 package * chore(deps): bump dependencies * chore(EMS-3970): add missing %o to console error logs (#3293) * chore(EMS-3971): simplify some pageVariables, add documentation (#3294) * chore(EMS-3971): add missing pageVariables documentation, remove POST_ROUTES * chore(EMS-3971): add missing pageVariables documentation, remove POST_ROUTES * chore(EMS-3980): remove unnecessary 'should exist' e2e assertions (#3296) * chore(EMS-4005): remove unnecessary expectedErrorsCount params (#3320) * chore(EMS-3983): dry heading caption cypress selectors (#3298) * chore(EMS-3983): create HEADING_CAPTION data-cy core page variable * chore(EMS-3983): remove duplicate headingCaption cypress selector * chore(EMS-3983): fix types * chore(EMS-3983): fix/update e2e tests * chore(EMS-3539): improve xlsx styled column functions (#3251) * chore(EMS-3539): improve xlsx styled column functions * chore(EMS-3539): improve xlsx styled column functions * chore(EMS-3539): improve xlsx generation functions * chore(EMS-3539): add missing unit test * chore(EMS-3539): improve documentation * chore(EMS-3539): fix/update unit test * chore(EMS-3539): fix typo * chore(tests): fix date related unit test * chore(EMS-3960): improve country mapping helper functions (#3246) * chore(EMS-3960): improve cis country mapping helpers * chore(EMS-3960): improve cis country mapping helpers * chore(EMS-3960): improve cis country mapping helpers * chore(EMS-3960): cis mapping - rename riskCategory to esraClassification * chore(EMS-3960): simplify cis mapping function * chore(EMS-3960): fix merge/linting issue * chore(EMS-3960): rename all instances of riskCategory to esraClassification * chore(EMS-3960): remove any type * chore(EMS-3960): simplify cis mapping function * chore(EMS-3960): revert cis mapping function changes * chore(EMS-4001): merge main into main-iterations-2 (#3311) * chore(EMS-3966): update dependabot to run during non working hours (#3278) * chore(EMS-3966): update dependabot to run during non working hours * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run monthly * fix(EMS-3988): quote tool - type of policy - hint text * chore(main): release 2.36.1 (#3300) * fix(EMS-3988): regenerate api schema (#3301) * chore(main): release 2.36.2 (#3302) * fix(EMS-3988): apply - type of policy - hint text (#3305) * chore(main): release 2.36.3 (#3306) * chore(EMS-4019): account creation/sign in checks - dev environment (#3345) * chore(EMS-4019): account creation/sign in checks - dev environment * chore(EMS-4019): remove commented code * chore(EMS-4019): update afterAll * chore(tests): fix failing date test --------- Co-authored-by: Abhi Markan <32125108+abhi-markan@users.noreply.github.com> * feat(EMS-3993): multiple contract policy - small export builder content (#3372) * feat(EMS-3993): multiple contract policy export value - small export builder content * chore(EMS-3993): align application version constants * feat(EMS-3993): documentation improvement * chore(EMS-3969): align test descriptions (#3291) * chore(EMS-3969): align success boolean test descriptions * chore(EMS-3969): align 'render' test descriptions * chore(EMS-3969): align test descriptions * chore(EMS-3969): align test descriptions * chore(EMS-3969): fix typos * chore(EMS-3969): update various e2e test descriptions * feat(EMS-4000): application submission - conditional email template (#3397) * feat(EMS-4000): application submission - conditional email template * feat(EMS-4000): update email template id constant * feat(EMS-4000): application submission - conditional email template * feat(EMS-4000): improve e2e test coverage * feat(EMS-4000): remove commented code * feat(EMS-4000): content string improvements, align application versions * feat(EMS-4000): fix typo * feat(EMS-4000): fix typo * chore(docs): add missing documentation * feat(EMS-4000): fix unit tests * feat(EMS-4087): application submission - small export builder - non gbp (#3442) * feat(EMS-4086): add apim currencies exchange helper * feat(EMS-4087): update application submission template id logic * feat(EMS-4086-4087): fix/update currency exchange logic * feat(EMS-4086-4087): add e2e test * chore(EMS-4086): improve unit test coverage * feat(EMS-4086): fix typo * feat(EMS-4086-4087): improve e2e coverage * feat(EMS-4086): fix/update unit test * feat(EMS-4086): improve application submission template id logic * fix(EMS-4088): application submission - small export builder calculation (#3444) * chore(EMS-4089): merge main into main-iterations-2 (#3445) * chore(EMS-3966): update dependabot to run during non working hours (#3278) * chore(EMS-3966): update dependabot to run during non working hours * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run monthly * fix(EMS-3988): quote tool - type of policy - hint text * chore(main): release 2.36.1 (#3300) * fix(EMS-3988): regenerate api schema (#3301) * chore(main): release 2.36.2 (#3302) * fix(EMS-3988): apply - type of policy - hint text (#3305) * chore(main): release 2.36.3 (#3306) * chore(deps): bump dependencies * chore(EMS-4019): account creation/sign in checks - dev environment (#3345) * chore(EMS-4019): account creation/sign in checks - dev environment * chore(EMS-4019): remove commented code * chore(EMS-4019): update afterAll * chore(tests): fix failing date test * chore(EMS-4031): test dependabot changes (#3350) * chore(EMS-4031): added restriction to package verions in package.jsons * chore(EMS-4031): updated package.lock.json * chore(EMS-4031): change to 1600 * chore(EMS-4031): revert package.json and add ignores to dependabot.yml * chore(EMS-4031): add ignores to dependabot.yml * chore(EMS-4031): changed dependabot time * chore(EMS-4031): add ignores to dependabot.yml (#3388) * chore(EMS-4031): add ignores to dependabot.yml (#3398) Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * chore(EMS-4031): reverts timing changes to dependabot.yml * chore(deps): bump dependencies * chore(EMS-4031): combine dependabot directories into 1 * chore(deps): bump dependencies * chore(EMS-4031): changed dependabot npm schedule to monthly (#3429) Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * chore(deps): remove mysql2 * chore(deps): bump dockerfile node alpine version --------- Co-authored-by: Abhi Markan <32125108+abhi-markan@users.noreply.github.com> Co-authored-by: zainZzKk <51957827+Zainzzkk@users.noreply.github.com> Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> --------- Co-authored-by: Abhi Markan <32125108+abhi-markan@users.noreply.github.com> Co-authored-by: zainZzKk <51957827+Zainzzkk@users.noreply.github.com> Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * Revert "chore(EMS-4095): merge main-iterations-2 into main (#3447)" (#3451) This reverts commit ca4382d7f0aade43b9b4b29d8da31445c552b2c7. * chore(main): release 2.37.0 * chore(EMS-4097): fix typo * chore(EMS-4097): fix merge issue * chore(EMS-4097): merge main-country-risk-logic into main (#3456) * chore(EMS-4066): application eligibility - rename exit page (#3417) * chore(EMS-4066): application eligibility - rename contract too short exit page * chore(EMS-4066): application eligibility - rename contract too short exit page * chore(EMS-4066): fix typo * feat(EMS-3842): country risk logic - application - country rating, online support (#3416) * feat(EMS-3842): country risk logic - application - country rating * feat(EMS-3842): add country support logs to ui buyer country controllers * chore(EMS-3842): rename function * chore(EMS-3842): rename function * feat(EMS-3842): country risk logic - application - a/b rating conditions * feat(EMS-3842): country risk logic - application - c/d rating conditions * feat(EMS-3842): exit page condition - temporary comment out * feat(EMS-3842): rename country support flag * feat(EMS-3842): fix/update ui redirection logic * chore(EMS-3842): rename constant * feat(EMS-3842): update todo comment * feat(EMS-3842): address todo comments * feat(EMS-3842): address todo comment * feat(EMS-3842): fix typo * chore(EMS-3842): remove todo comment * feat(EMS-3842): fix/update tests * feat(EMS-3842): improve unit test coverage * feat(EMS-3842): fix quote generation * feat(EMS-3842): replace all instances of riskCategory * feat(EMS-3842): various code improvements/fixes * feat(EMS-3842): code improvements/fixes * feat(EMS-3842): fix/update querying issue * feat(EMS-3842): fix/update e2e tests * feat(EMS-3842): fix/update new console logs * feat(EMS-4065): country risk logic - application - no support (#3419) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * feat(EMS-4071): country risk logic - get a quote online (#3421) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * feat(EMS-4071): country risk logic - get a quote online * feat(EMS-4071): country risk logic - get a quote online * feat(EMS-4074): country risk logic - cannot get a quote (#3422) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * feat(EMS-4074): country risk logic - cannot get a quote * feat(EMS-4074): fix tests * chore(EMS-4075): country risk logic - remove canGetAQuoteOffline flag (#3423) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * chore(EMS-4075): country risk logic - remove canGetAQuoteOffline flag * feat(EMS-4073): country risk logic - remove canGetAQuoteByEmail flag (#3424) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * feat(EMS-4073): country risk logic - remove canGetAQuoteByEmail flag * feat(EMS-4073): fix typo * feat(EMS-4073): fix merge issue * chore(EMS-4076-4077): improve buyer country unit tests (#3433) * chore(EMS-4076): improve buyer country unit tests * chore(EMS-4076): improve ui country mocks * chore(EMS-4079): country risk logic - simplify/improve mapping function (#3436) * chore(EMS-4067-4070): country risk logic - e2e improvements (#3435) * chore(gql): remove unused field * chore(EMS-4067-4070): e2e fixture improvements * chore(EMS-4067-4070): buyer country e2e improvements * chore(EMS-4067-4070): e2e improvements * chore(EMS-4067): fix typo * chore(EMS-4067): fix typo * chore(EMS-4067-4070): fix/update e2e tests * feat(EMS-4067): fix/update e2e tests * chore(EMS-4067-4070): fix/update e2e tests * chore(EMS-4067-4070): fix/update e2e tests * chore(EMS-4067-4070): fix/update e2e tests * chore(EMS-4097): fix typo * chore(EMS-4097): fix merge issue * Revert "chore(EMS-4097): merge main-country-risk-logic into main (#3456)" This reverts commit 2f679c4fda21e1035f4a0f599d60ff6303903d10. * feat(EMS-3842-3990): country risk logic - short term cover (#3459) * chore(docs): fix typo * feat(EMS-3842-3990): country risk logic - short term cover * chore(main): release 2.38.0 (#3460) * feat(EMS-4098): automated deployment * feat(EMS-4098): automated deployment * feat(EMS-4098): automated deployment * fix(EMS-4081): rename 'talk to an export finance manager' url (#3463) * chore(main): release 2.38.1 (#3464) * fix(EMS-4098): corrected project name * fix(EMS-4100): country risk logic - short term cover (#3465) * chore(main): release 2.38.2 (#3466) * feat(EMS-4098): automate deployment pipeline (#3462) * feat(EMS-4098): automated deployment * feat(EMS-4098): automated deployment * feat(EMS-4098): automated deployment * fix(EMS-4098): corrected project name --------- Co-authored-by: Abhi Markan <amarkan> * chore(main): release 2.39.0 (#3467) * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4101): update gov integrity hash (#3472) * chore(main): release 2.39.1 (#3471) * fix(EMS-4100): country risk logic - quote - no online support * chore(naming): rename 'buyer body' to 'type of buyer' * fix(EMS-4100): fix typo * fix(EMS-4100): fix typo * fix(EMS-4100): fix/update tests * fix(EMS-4100): fix typo * chore(EMS-4121): disable small export builder functionality * chore(EMS-4121): fix typo * chore(EMS-4121): remove commented code * chore(main): release 2.39.2 (#3479) * fix(EMS-4098): deployment pipeline update (#3480) Co-authored-by: Abhi Markan <amarkan> * chore(main): release 2.39.3 (#3481) * fix(EMS-4125): updated keystone config (#3483) * chore(main): release 2.39.4 (#3484) * chore(deps): dependencies updates (#3488) * chore(deps): dependencies updates * chore(deps): dependencies updates * chore(deps): updatede deployment branch reference --------- Co-authored-by: Abhi Markan <amarkan> * feat(EMS-4134): add additional security routes (#3489) * feat(EMS-4134): added additional routes * feat(EMS-4134): refactored code * fix(DTFS2-7771): updated docstrings * chore(EMS-4134): dependencies updates * feat(EMS-4134): added routes to e2e constants * feat(EMS-4134): added controller unit test cases * feat(EMS-4134): removed arrange-act-assert test pattern comments * feat(EMS-4134): added routes unit test cases * feat(EMS-4134): added routes unit test cases * feat(EMS-4134): code consistency * feat(EMS-4134): minor naming convention updates --------- Co-authored-by: Abhi Markan <amarkan> * chore(main): release 2.40.0 (#3493) * chore(EMS-4142): remove todo comment * chore(EMS-4142): fix/update unit test * chore(EMS-4142): fix merge issue --------- Co-authored-by: Abhi Markan <32125108+abhi-markan@users.noreply.github.com> Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> Co-authored-by: zainZzKk <51957827+Zainzzkk@users.noreply.github.com> Co-authored-by: Abhi Markan <amarkan> * chore(EMS-4146): merge main into main-declarations-modern-slavery (#3499) * chore(EMS-3957): dry countries, currencies calls (#3219) * chore(EMS-3957): create new getApimCountriesAndCurrencies graphql resolver * chore(EMS-3957): create getCountriesAndCurrencies graphql resolver * chore(EMS-3957): update ui controller to use getCountriesAndCurrencies query * chore(ui): remove unused gql query * chore(ui): remove unused gql query * chore(EMS-3957): improve unit test coverage * chore(EMS-3957): address todo comment * chore(EMS-3957): fix gql resolver, documentation improvements * chore(EMS-3957): fix unit test * chore(EMS-3957): fix/update unit test * chore(EMS-3957): fix/update countries/currencies queries * chore(EMS-3957): fix typo * chore(EMS-3957): simplify unit tests * chore(EMS-3957): fix/update unit test * chore(EMS-3810): dry cypress commands for empty field values (#3249) * chore(EMS-3810): dry cypress commands for empty field values * chore(EMS-3810): fix/update cypress command * chore(EMS-3968): rename formToStopAt cypress command params (#3290) * chore(EMS-3968): rename formToStopAt cypress command params * chore(EMS-3968): rename formToStopAt cypress command params * chore(deps): bump dependencies (#3276) * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(EMS-3950): remove mysql2 package * chore(deps): bump dependencies * chore(EMS-3970): add missing %o to console error logs (#3293) * chore(EMS-3971): simplify some pageVariables, add documentation (#3294) * chore(EMS-3971): add missing pageVariables documentation, remove POST_ROUTES * chore(EMS-3971): add missing pageVariables documentation, remove POST_ROUTES * chore(EMS-3980): remove unnecessary 'should exist' e2e assertions (#3296) * chore(EMS-4005): remove unnecessary expectedErrorsCount params (#3320) * chore(deps): bump dependencies * chore(EMS-3983): dry heading caption cypress selectors (#3298) * chore(EMS-3983): create HEADING_CAPTION data-cy core page variable * chore(EMS-3983): remove duplicate headingCaption cypress selector * chore(EMS-3983): fix types * chore(EMS-3983): fix/update e2e tests * chore(EMS-3539): improve xlsx styled column functions (#3251) * chore(EMS-3539): improve xlsx styled column functions * chore(EMS-3539): improve xlsx styled column functions * chore(EMS-3539): improve xlsx generation functions * chore(EMS-3539): add missing unit test * chore(EMS-3539): improve documentation * chore(EMS-3539): fix/update unit test * chore(EMS-3539): fix typo * chore(tests): fix date related unit test * chore(EMS-3960): improve country mapping helper functions (#3246) * chore(EMS-3960): improve cis country mapping helpers * chore(EMS-3960): improve cis country mapping helpers * chore(EMS-3960): improve cis country mapping helpers * chore(EMS-3960): cis mapping - rename riskCategory to esraClassification * chore(EMS-3960): simplify cis mapping function * chore(EMS-3960): fix merge/linting issue * chore(EMS-3960): rename all instances of riskCategory to esraClassification * chore(EMS-3960): remove any type * chore(EMS-3960): simplify cis mapping function * chore(EMS-3960): revert cis mapping function changes * chore(EMS-4001): merge main into main-iterations-2 (#3311) * chore(EMS-3966): update dependabot to run during non working hours (#3278) * chore(EMS-3966): update dependabot to run during non working hours * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run monthly * fix(EMS-3988): quote tool - type of policy - hint text * chore(main): release 2.36.1 (#3300) * fix(EMS-3988): regenerate api schema (#3301) * chore(main): release 2.36.2 (#3302) * fix(EMS-3988): apply - type of policy - hint text (#3305) * chore(main): release 2.36.3 (#3306) * chore(EMS-4019): account creation/sign in checks - dev environment (#3345) * chore(EMS-4019): account creation/sign in checks - dev environment * chore(EMS-4019): remove commented code * chore(EMS-4019): update afterAll * chore(tests): fix failing date test --------- Co-authored-by: Abhi Markan <32125108+abhi-markan@users.noreply.github.com> * chore(EMS-4031): reverts timing changes to dependabot.yml * feat(EMS-3993): multiple contract policy - small export builder content (#3372) * feat(EMS-3993): multiple contract policy export value - small export builder content * chore(EMS-3993): align application version constants * feat(EMS-3993): documentation improvement * chore(EMS-3969): align test descriptions (#3291) * chore(EMS-3969): align success boolean test descriptions * chore(EMS-3969): align 'render' test descriptions * chore(EMS-3969): align test descriptions * chore(EMS-3969): align test descriptions * chore(EMS-3969): fix typos * chore(EMS-3969): update various e2e test descriptions * feat(EMS-4000): application submission - conditional email template (#3397) * feat(EMS-4000): application submission - conditional email template * feat(EMS-4000): update email template id constant * feat(EMS-4000): application submission - conditional email template * feat(EMS-4000): improve e2e test coverage * feat(EMS-4000): remove commented code * feat(EMS-4000): content string improvements, align application versions * feat(EMS-4000): fix typo * feat(EMS-4000): fix typo * chore(docs): add missing documentation * feat(EMS-4000): fix unit tests * chore(EMS-4066): application eligibility - rename exit page (#3417) * chore(EMS-4066): application eligibility - rename contract too short exit page * chore(EMS-4066): application eligibility - rename contract too short exit page * chore(EMS-4066): fix typo * feat(EMS-3842): country risk logic - application - country rating, online support (#3416) * feat(EMS-3842): country risk logic - application - country rating * feat(EMS-3842): add country support logs to ui buyer country controllers * chore(EMS-3842): rename function * chore(EMS-3842): rename function * feat(EMS-3842): country risk logic - application - a/b rating conditions * feat(EMS-3842): country risk logic - application - c/d rating conditions * feat(EMS-3842): exit page condition - temporary comment out * feat(EMS-3842): rename country support flag * feat(EMS-3842): fix/update ui redirection logic * chore(EMS-3842): rename constant * feat(EMS-3842): update todo comment * feat(EMS-3842): address todo comments * feat(EMS-3842): address todo comment * feat(EMS-3842): fix typo * chore(EMS-3842): remove todo comment * feat(EMS-3842): fix/update tests * feat(EMS-3842): improve unit test coverage * feat(EMS-3842): fix quote generation * feat(EMS-3842): replace all instances of riskCategory * feat(EMS-3842): various code improvements/fixes * feat(EMS-3842): code improvements/fixes * feat(EMS-3842): fix/update querying issue * feat(EMS-3842): fix/update e2e tests * feat(EMS-3842): fix/update new console logs * chore(deps): bump dependencies * chore(EMS-4031): combine dependabot directories into 1 * chore(deps): bump dependencies * feat(EMS-4065): country risk logic - application - no support (#3419) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * chore(EMS-4031): changed dependabot npm schedule to monthly (#3429) Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * feat(EMS-4071): country risk logic - get a quote online (#3421) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * feat(EMS-4071): country risk logic - get a quote online * feat(EMS-4071): country risk logic - get a quote online * chore(deps): remove mysql2 * chore(deps): bump dockerfile node alpine version * feat(EMS-4074): country risk logic - cannot get a quote (#3422) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * feat(EMS-4074): country risk logic - cannot get a quote * feat(EMS-4074): fix tests * chore(EMS-4075): country risk logic - remove canGetAQuoteOffline flag (#3423) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * chore(EMS-4075): country risk logic - remove canGetAQuoteOffline flag * feat(EMS-4073): country risk logic - remove canGetAQuoteByEmail flag (#3424) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * feat(EMS-4073): country risk logic - remove canGetAQuoteByEmail flag * feat(EMS-4073): fix typo * feat(EMS-4073): fix merge issue * chore(EMS-4076-4077): improve buyer country unit tests (#3433) * chore(EMS-4076): improve buyer country unit tests * chore(EMS-4076): improve ui country mocks * chore(EMS-4079): country risk logic - simplify/improve mapping function (#3436) * chore(EMS-4067-4070): country risk logic - e2e improvements (#3435) * chore(gql): remove unused field * chore(EMS-4067-4070): e2e fixture improvements * chore(EMS-4067-4070): buyer country e2e improvements * chore(EMS-4067-4070): e2e improvements * chore(EMS-4067): fix typo * chore(EMS-4067): fix typo * chore(EMS-4067-4070): fix/update e2e tests * feat(EMS-4067): fix/update e2e tests * chore(EMS-4067-4070): fix/update e2e tests * chore(EMS-4067-4070): fix/update e2e tests * chore(EMS-4067-4070): fix/update e2e tests * feat(EMS-4087): application submission - small export builder - non gbp (#3442) * feat(EMS-4086): add apim currencies exchange helper * feat(EMS-4087): update application submission template id logic * feat(EMS-4086-4087): fix/update currency exchange logic * feat(EMS-4086-4087): add e2e test * chore(EMS-4086): improve unit test coverage * feat(EMS-4086): fix typo * feat(EMS-4086-4087): improve e2e coverage * feat(EMS-4086): fix/update unit test * feat(EMS-4086): improve application submission template id logic * fix(EMS-4088): application submission - small export builder calculation (#3444) * chore(EMS-4089): merge main into main-iterations-2 (#3445) * chore(EMS-3966): update dependabot to run during non working hours (#3278) * chore(EMS-3966): update dependabot to run during non working hours * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run monthly * fix(EMS-3988): quote tool - type of policy - hint text * chore(main): release 2.36.1 (#3300) * fix(EMS-3988): regenerate api schema (#3301) * chore(main): release 2.36.2 (#3302) * fix(EMS-3988): apply - type of policy - hint text (#3305) * chore(main): release 2.36.3 (#3306) * chore(deps): bump dependencies * chore(EMS-4019): account creation/sign in checks - dev environment (#3345) * chore(EMS-4019): account creation/sign in checks - dev environment * chore(EMS-4019): remove commented code * chore(EMS-4019): update afterAll * chore(tests): fix failing date test * chore(EMS-4031): test dependabot changes (#3350) * chore(EMS-4031): added restriction to package verions in package.jsons * chore(EMS-4031): updated package.lock.json * chore(EMS-4031): change to 1600 * chore(EMS-4031): revert package.json and add ignores to dependabot.yml * chore(EMS-4031): add ignores to dependabot.yml * chore(EMS-4031): changed dependabot time * chore(EMS-4031): add ignores to dependabot.yml (#3388) * chore(EMS-4031): add ignores to dependabot.yml (#3398) Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * chore(EMS-4031): reverts timing changes to dependabot.yml * chore(deps): bump dependencies * chore(EMS-4031): combine dependabot directories into 1 * chore(deps): bump dependencies * chore(EMS-4031): changed dependabot npm schedule to monthly (#3429) Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * chore(deps): remove mysql2 * chore(deps): bump dockerfile node alpine version --------- Co-authored-by: Abhi Markan <32125108+abhi-markan@users.noreply.github.com> Co-authored-by: zainZzKk <51957827+Zainzzkk@users.noreply.github.com> Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * chore(EMS-4095): merge main-iterations-2 into main (#3447) * chore(EMS-3957): dry countries, currencies calls (#3219) * chore(EMS-3957): create new getApimCountriesAndCurrencies graphql resolver * chore(EMS-3957): create getCountriesAndCurrencies graphql resolver * chore(EMS-3957): update ui controller to use getCountriesAndCurrencies query * chore(ui): remove unused gql query * chore(ui): remove unused gql query * chore(EMS-3957): improve unit test coverage * chore(EMS-3957): address todo comment * chore(EMS-3957): fix gql resolver, documentation improvements * chore(EMS-3957): fix unit test * chore(EMS-3957): fix/update unit test * chore(EMS-3957): fix/update countries/currencies queries * chore(EMS-3957): fix typo * chore(EMS-3957): simplify unit tests * chore(EMS-3957): fix/update unit test * chore(EMS-3810): dry cypress commands for empty field values (#3249) * chore(EMS-3810): dry cypress commands for empty field values * chore(EMS-3810): fix/update cypress command * chore(EMS-3968): rename formToStopAt cypress command params (#3290) * chore(EMS-3968): rename formToStopAt cypress command params * chore(EMS-3968): rename formToStopAt cypress command params * chore(deps): bump dependencies (#3276) * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(EMS-3950): remove mysql2 package * chore(deps): bump dependencies * chore(EMS-3970): add missing %o to console error logs (#3293) * chore(EMS-3971): simplify some pageVariables, add documentation (#3294) * chore(EMS-3971): add missing pageVariables documentation, remove POST_ROUTES * chore(EMS-3971): add missing pageVariables documentation, remove POST_ROUTES * chore(EMS-3980): remove unnecessary 'should exist' e2e assertions (#3296) * chore(EMS-4005): remove unnecessary expectedErrorsCount params (#3320) * chore(EMS-3983): dry heading caption cypress selectors (#3298) * chore(EMS-3983): create HEADING_CAPTION data-cy core page variable * chore(EMS-3983): remove duplicate headingCaption cypress selector * chore(EMS-3983): fix types * chore(EMS-3983): fix/update e2e tests * chore(EMS-3539): improve xlsx styled column functions (#3251) * chore(EMS-3539): improve xlsx styled column functions * chore(EMS-3539): improve xlsx styled column functions * chore(EMS-3539): improve xlsx generation functions * chore(EMS-3539): add missing unit test * chore(EMS-3539): improve documentation * chore(EMS-3539): fix/update unit test * chore(EMS-3539): fix typo * chore(tests): fix date related unit test * chore(EMS-3960): improve country mapping helper functions (#3246) * chore(EMS-3960): improve cis country mapping helpers * chore(EMS-3960): improve cis country mapping helpers * chore(EMS-3960): improve cis country mapping helpers * chore(EMS-3960): cis mapping - rename riskCategory to esraClassification * chore(EMS-3960): simplify cis mapping function * chore(EMS-3960): fix merge/linting issue * chore(EMS-3960): rename all instances of riskCategory to esraClassification * chore(EMS-3960): remove any type * chore(EMS-3960): simplify cis mapping function * chore(EMS-3960): revert cis mapping function changes * chore(EMS-4001): merge main into main-iterations-2 (#3311) * chore(EMS-3966): update dependabot to run during non working hours (#3278) * chore(EMS-3966): update dependabot to run during non working hours * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run monthly * fix(EMS-3988): quote tool - type of policy - hint text * chore(main): release 2.36.1 (#3300) * fix(EMS-3988): regenerate api schema (#3301) * chore(main): release 2.36.2 (#3302) * fix(EMS-3988): apply - type of policy - hint text (#3305) * chore(main): release 2.36.3 (#3306) * chore(EMS-4019): account creation/sign in checks - dev environment (#3345) * chore(EMS-4019): account creation/sign in checks - dev environment * chore(EMS-4019): remove commented code * chore(EMS-4019): update afterAll * chore(tests): fix failing date test --------- Co-authored-by: Abhi Markan <32125108+abhi-markan@users.noreply.github.com> * feat(EMS-3993): multiple contract policy - small export builder content (#3372) * feat(EMS-3993): multiple contract policy export value - small export builder content * chore(EMS-3993): align application version constants * feat(EMS-3993): documentation improvement * chore(EMS-3969): align test descriptions (#3291) * chore(EMS-3969): align success boolean test descriptions * chore(EMS-3969): align 'render' test descriptions * chore(EMS-3969): align test descriptions * chore(EMS-3969): align test descriptions * chore(EMS-3969): fix typos * chore(EMS-3969): update various e2e test descriptions * feat(EMS-4000): application submission - conditional email template (#3397) * feat(EMS-4000): application submission - conditional email template * feat(EMS-4000): update email template id constant * feat(EMS-4000): application submission - conditional email template * feat(EMS-4000): improve e2e test coverage * feat(EMS-4000): remove commented code * feat(EMS-4000): content string improvements, align application versions * feat(EMS-4000): fix typo * feat(EMS-4000): fix typo * chore(docs): add missing documentation * feat(EMS-4000): fix unit tests * feat(EMS-4087): application submission - small export builder - non gbp (#3442) * feat(EMS-4086): add apim currencies exchange helper * feat(EMS-4087): update application submission template id logic * feat(EMS-4086-4087): fix/update currency exchange logic * feat(EMS-4086-4087): add e2e test * chore(EMS-4086): improve unit test coverage * feat(EMS-4086): fix typo * feat(EMS-4086-4087): improve e2e coverage * feat(EMS-4086): fix/update unit test * feat(EMS-4086): improve application submission template id logic * fix(EMS-4088): application submission - small export builder calculation (#3444) * chore(EMS-4089): merge main into main-iterations-2 (#3445) * chore(EMS-3966): update dependabot to run during non working hours (#3278) * chore(EMS-3966): update dependabot to run during non working hours * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run monthly * fix(EMS-3988): quote tool - type of policy - hint text * chore(main): release 2.36.1 (#3300) * fix(EMS-3988): regenerate api schema (#3301) * chore(main): release 2.36.2 (#3302) * fix(EMS-3988): apply - type of policy - hint text (#3305) * chore(main): release 2.36.3 (#3306) * chore(deps): bump dependencies * chore(EMS-4019): account creation/sign in checks - dev environment (#3345) * chore(EMS-4019): account creation/sign in checks - dev environment * chore(EMS-4019): remove commented code * chore(EMS-4019): update afterAll * chore(tests): fix failing date test * chore(EMS-4031): test dependabot changes (#3350) * chore(EMS-4031): added restriction to package verions in package.jsons * chore(EMS-4031): updated package.lock.json * chore(EMS-4031): change to 1600 * chore(EMS-4031): revert package.json and add ignores to dependabot.yml * chore(EMS-4031): add ignores to dependabot.yml * chore(EMS-4031): changed dependabot time * chore(EMS-4031): add ignores to dependabot.yml (#3388) * chore(EMS-4031): add ignores to dependabot.yml (#3398) Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * chore(EMS-4031): reverts timing changes to dependabot.yml * chore(deps): bump dependencies * chore(EMS-4031): combine dependabot directories into 1 * chore(deps): bump dependencies * chore(EMS-4031): changed dependabot npm schedule to monthly (#3429) Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * chore(deps): remove mysql2 * chore(deps): bump dockerfile node alpine version --------- Co-authored-by: Abhi Markan <32125108+abhi-markan@users.noreply.github.com> Co-authored-by: zainZzKk <51957827+Zainzzkk@users.noreply.github.com> Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> --------- Co-authored-by: Abhi Markan <32125108+abhi-markan@users.noreply.github.com> Co-authored-by: zainZzKk <51957827+Zainzzkk@users.noreply.github.com> Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * Revert "chore(EMS-4095): merge main-iterations-2 into main (#3447)" (#3451) This reverts commit ca4382d7f0aade43b9b4b29d8da31445c552b2c7. * chore(main): release 2.37.0 * chore(EMS-4097): fix typo * chore(EMS-4097): fix merge issue * chore(EMS-4097): merge main-country-risk-logic into main (#3456) * chore(EMS-4066): application eligibility - rename exit page (#3417) * chore(EMS-4066): application eligibility - rename contract too short exit page * chore(EMS-4066): application eligibility - rename contract too short exit page * chore(EMS-4066): fix typo * feat(EMS-3842): country risk logic - application - country rating, online support (#3416) * feat(EMS-3842): country risk logic - application - country rating * feat(EMS-3842): add country support logs to ui buyer country controllers * chore(EMS-3842): rename function * chore(EMS-3842): rename function * feat(EMS-3842): country risk logic - application - a/b rating conditions * feat(EMS-3842): country risk logic - application - c/d rating conditions * feat(EMS-3842): exit page condition - temporary comment out * feat(EMS-3842): rename country support flag * feat(EMS-3842): fix/update ui redirection logic * chore(EMS-3842): rename constant * feat(EMS-3842): update todo comment * feat(EMS-3842): address todo comments * feat(EMS-3842): address todo comment * feat(EMS-3842): fix typo * chore(EMS-3842): remove todo comment * feat(EMS-3842): fix/update tests * feat(EMS-3842): improve unit test coverage * feat(EMS-3842): fix quote generation * feat(EMS-3842): replace all instances of riskCategory * feat(EMS-3842): various code improvements/fixes * feat(EMS-3842): code improvements/fixes * feat(EMS-3842): fix/update querying issue * feat(EMS-3842): fix/update e2e tests * feat(EMS-3842): fix/update new console logs * feat(EMS-4065): country risk logic - application - no support (#3419) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * feat(EMS-4071): country risk logic - get a quote online (#3421) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/upd…
abhi-markan
added a commit
that referenced
this pull request
Jan 28, 2025
* chore(EMS-3966): update dependabot to run during non working hours (#3278) * chore(EMS-3966): update dependabot to run during non working hours * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run monthly * fix(EMS-3988): quote tool - type of policy - hint text * chore(main): release 2.36.1 (#3300) * fix(EMS-3988): regenerate api schema (#3301) * chore(main): release 2.36.2 (#3302) * fix(EMS-3988): apply - type of policy - hint text (#3305) * chore(main): release 2.36.3 (#3306) * chore(EMS-3970): add missing %o to console error logs (#3293) * chore(EMS-3971): simplify some pageVariables, add documentation (#3294) * chore(EMS-3971): add missing pageVariables documentation, remove POST_ROUTES * chore(EMS-3971): add missing pageVariables documentation, remove POST_ROUTES * chore(EMS-3980): remove unnecessary 'should exist' e2e assertions (#3296) * chore(EMS-4005): remove unnecessary expectedErrorsCount params (#3320) * chore(deps): bump dependencies * chore(EMS-3983): dry heading caption cypress selectors (#3298) * chore(EMS-3983): create HEADING_CAPTION data-cy core page variable * chore(EMS-3983): remove duplicate headingCaption cypress selector * chore(EMS-3983): fix types * chore(EMS-3983): fix/update e2e tests * chore(EMS-4019): account creation/sign in checks - dev environment (#3345) * chore(EMS-4019): account creation/sign in checks - dev environment * chore(EMS-4019): remove commented code * chore(EMS-4019): update afterAll * chore(tests): fix failing date test * chore(EMS-3539): improve xlsx styled column functions (#3251) * chore(EMS-3539): improve xlsx styled column functions * chore(EMS-3539): improve xlsx styled column functions * chore(EMS-3539): improve xlsx generation functions * chore(EMS-3539): add missing unit test * chore(EMS-3539): improve documentation * chore(EMS-3539): fix/update unit test * chore(EMS-3539): fix typo * chore(tests): fix date related unit test * chore(EMS-3960): improve country mapping helper functions (#3246) * chore(EMS-3960): improve cis country mapping helpers * chore(EMS-3960): improve cis country mapping helpers * chore(EMS-3960): improve cis country mapping helpers * chore(EMS-3960): cis mapping - rename riskCategory to esraClassification * chore(EMS-3960): simplify cis mapping function * chore(EMS-3960): fix merge/linting issue * chore(EMS-3960): rename all instances of riskCategory to esraClassification * chore(EMS-3960): remove any type * chore(EMS-3960): simplify cis mapping function * chore(EMS-3960): revert cis mapping function changes * chore(EMS-4031): test dependabot changes (#3350) * chore(EMS-4001): merge main into main-iterations-2 (#3311) * chore(EMS-3966): update dependabot to run during non working hours (#3278) * chore(EMS-3966): update dependabot to run during non working hours * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run monthly * fix(EMS-3988): quote tool - type of policy - hint text * chore(main): release 2.36.1 (#3300) * fix(EMS-3988): regenerate api schema (#3301) * chore(main): release 2.36.2 (#3302) * fix(EMS-3988): apply - type of policy - hint text (#3305) * chore(main): release 2.36.3 (#3306) * chore(EMS-4019): account creation/sign in checks - dev environment (#3345) * chore(EMS-4019): account creation/sign in checks - dev environment * chore(EMS-4019): remove commented code * chore(EMS-4019): update afterAll * chore(tests): fix failing date test --------- Co-authored-by: Abhi Markan <32125108+abhi-markan@users.noreply.github.com> * chore(EMS-4031): added restriction to package verions in package.jsons * chore(EMS-4031): updated package.lock.json * chore(EMS-4031): change to 1600 * chore(EMS-4031): revert package.json and add ignores to dependabot.yml * chore(EMS-4031): add ignores to dependabot.yml * chore(EMS-4031): changed dependabot time * chore(EMS-4031): add ignores to dependabot.yml (#3388) * chore(EMS-4031): add ignores to dependabot.yml (#3398) Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * chore(EMS-4031): reverts timing changes to dependabot.yml * feat(EMS-3993): multiple contract policy - small export builder content (#3372) * feat(EMS-3993): multiple contract policy export value - small export builder content * chore(EMS-3993): align application version constants * feat(EMS-3993): documentation improvement * chore(EMS-3969): align test descriptions (#3291) * chore(EMS-3969): align success boolean test descriptions * chore(EMS-3969): align 'render' test descriptions * chore(EMS-3969): align test descriptions * chore(EMS-3969): align test descriptions * chore(EMS-3969): fix typos * chore(EMS-3969): update various e2e test descriptions * feat(EMS-4000): application submission - conditional email template (#3397) * feat(EMS-4000): application submission - conditional email template * feat(EMS-4000): update email template id constant * feat(EMS-4000): application submission - conditional email template * feat(EMS-4000): improve e2e test coverage * feat(EMS-4000): remove commented code * feat(EMS-4000): content string improvements, align application versions * feat(EMS-4000): fix typo * feat(EMS-4000): fix typo * chore(docs): add missing documentation * feat(EMS-4000): fix unit tests * feat(EMS-4034): declarations - modern slavery - data model/creation (#3406) * feat(EMS-4034): declarations - modern slavery - data model * feat(EMS-4034): declarations - modern slavery - update db dump * feat(EMS-4034): update application creation * feat(EMS-4034): update get application query * feat(EMS-4034): fix typo * feat(EMS-4034): fix unit test * feat(EMS-4034): fix typos * feat(EMS-4034): simplify unit tests * feat(EMS-4037): declarations - modern slavery - intial page setup (#3407) * feat(EMS-4037): declarations - modern slavery - intial page setup * feat(EMS-4037): declarations - modern slavery - page intro * feat(EMS-4037): update unit test * feat(EMS-4037): fix content strings issue * feat(EMS-4038): declarations - modern slavery - conditional reasons (#3409) * feat(EMS-4038): declarations - modern slavery - conditional radios * feat(EMS-4038): declarations - modern slavery - conditional radios - e2e tests * feat(EMS-4038): declarations - modern slavery - conditional maximums * chore(EMS-4038): remove commented code * feat(EMS-4024): declarations - modern slavery - form validation (#3410) * feat(EMS-4038): declarations - modern slavery - conditional radios * feat(EMS-4038): declarations - modern slavery - conditional radios - e2e tests * feat(EMS-4038): declarations - modern slavery - conditional maximums * chore(EMS-4038): remove commented code * feat(EMS-4024): declarations - modern slavery - form validation * chore(e2e): cypress command improvements * feat(EMS-4024): improve e2e test coverage * chore(e2e): documentation improvements * feat(EMS-4024): readability improvement * feat(EMS-4034): declarations - modern slavery - update data model (#3411) * feat(EMS-4034): declarations - modern slavery - update data model * feat(EMS-4034): update unit test * style(EMS-4039): declarations - modern slavery - definition of terms (#3412) * style(EMS-4039): declarations - modern slavery - definition of terms * style(EMS-4039): update anti bribery expandable details * feat(EMS-4039): various code improvements * chore(EMS-4066): application eligibility - rename exit page (#3417) * chore(EMS-4066): application eligibility - rename contract too short exit page * chore(EMS-4066): application eligibility - rename contract too short exit page * chore(EMS-4066): fix typo * feat(EMS-4025-4045): declarations - modern slavery - data saving (#3413) * feat(EMS-4038): declarations - modern slavery - conditional radios * feat(EMS-4038): declarations - modern slavery - conditional radios - e2e tests * feat(EMS-4038): declarations - modern slavery - conditional maximums * chore(EMS-4038): remove commented code * feat(EMS-4024): declarations - modern slavery - form validation * chore(e2e): cypress command improvements * feat(EMS-4024): improve e2e test coverage * chore(e2e): documentation improvements * feat(EMS-4024): readability improvement * feat(EMS-4024): update ui saveData/gql declaration calls * feat(EMS-4024): declarations - modern slavery - save data call * feat(EMS-4025-4045): declarations - modern slavery - data saving * feat(EMS-4025-4045): update sql dump * chore(tests): remove .only * feat(EMS-4025-4045): minor code improvements * feat(EMS-4025-4045): address todo comment * feat(EMS-4025-4045): fix/update unit tests * chore(ui): simplify company details controller * chore(ui): simplify company details controller * chore(ui): simplify company details controller * feat(EMS-4025-4045): fix modern slavery 'no' radio selection issue * chore(linting): fix linting issue * feat(EMS-3842): country risk logic - application - country rating, online support (#3416) * feat(EMS-3842): country risk logic - application - country rating * feat(EMS-3842): add country support logs to ui buyer country controllers * chore(EMS-3842): rename function * chore(EMS-3842): rename function * feat(EMS-3842): country risk logic - application - a/b rating conditions * feat(EMS-3842): country risk logic - application - c/d rating conditions * feat(EMS-3842): exit page condition - temporary comment out * feat(EMS-3842): rename country support flag * feat(EMS-3842): fix/update ui redirection logic * chore(EMS-3842): rename constant * feat(EMS-3842): update todo comment * feat(EMS-3842): address todo comments * feat(EMS-3842): address todo comment * feat(EMS-3842): fix typo * chore(EMS-3842): remove todo comment * feat(EMS-3842): fix/update tests * feat(EMS-3842): improve unit test coverage * feat(EMS-3842): fix quote generation * feat(EMS-3842): replace all instances of riskCategory * feat(EMS-3842): various code improvements/fixes * feat(EMS-3842): code improvements/fixes * feat(EMS-3842): fix/update querying issue * feat(EMS-3842): fix/update e2e tests * feat(EMS-3842): fix/update new console logs * chore(deps): bump dependencies * chore(EMS-4031): combine dependabot directories into 1 * chore(deps): bump dependencies * feat(EMS-4065): country risk logic - application - no support (#3419) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * chore(EMS-4031): changed dependabot npm schedule to monthly (#3429) Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * feat(EMS-4071): country risk logic - get a quote online (#3421) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * feat(EMS-4071): country risk logic - get a quote online * feat(EMS-4071): country risk logic - get a quote online * chore(deps): remove mysql2 * chore(deps): bump dockerfile node alpine version * feat(EMS-4074): country risk logic - cannot get a quote (#3422) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * feat(EMS-4074): country risk logic - cannot get a quote * feat(EMS-4074): fix tests * chore(EMS-4075): country risk logic - remove canGetAQuoteOffline flag (#3423) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * chore(EMS-4075): country risk logic - remove canGetAQuoteOffline flag * feat(EMS-4073): country risk logic - remove canGetAQuoteByEmail flag (#3424) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * feat(EMS-4073): country risk logic - remove canGetAQuoteByEmail flag * feat(EMS-4073): fix typo * feat(EMS-4073): fix merge issue * chore(EMS-4076-4077): improve buyer country unit tests (#3433) * chore(EMS-4076): improve buyer country unit tests * chore(EMS-4076): improve ui country mocks * chore(EMS-4079): country risk logic - simplify/improve mapping function (#3436) * feat(EMS-4046): declarations - modern slavery - save and back (#3418) * feat(EMS-4046): declarations - modern slavery - map and save functions * feat(EMS-4046): declarations - modern slavery - save and back * chore(tests): minor readability improvements * feat(EMS-4046): fix/update e2e tests * chore(EMS-4067-4070): country risk logic - e2e improvements (#3435) * chore(gql): remove unused field * chore(EMS-4067-4070): e2e fixture improvements * chore(EMS-4067-4070): buyer country e2e improvements * chore(EMS-4067-4070): e2e improvements * chore(EMS-4067): fix typo * chore(EMS-4067): fix typo * chore(EMS-4067-4070): fix/update e2e tests * feat(EMS-4067): fix/update e2e tests * chore(EMS-4067-4070): fix/update e2e tests * chore(EMS-4067-4070): fix/update e2e tests * chore(EMS-4067-4070): fix/update e2e tests * feat(EMS-4041): declarations - modern slavery - user flow updates (#3420) * feat(EMS-4041): declarations - modern slavery - user flow updates * feat(EMS-4041): update e2e tests * feat(EMS-4041): fix/update e2e tests * feat(EMS-4041): fix/update e2e tests * feat(EMS-4041): fix merge issue * feat(EMS-4041): fix/update e2e tests * feat(EMS-4059): task list - declarations - modern slavery (#3437) * feat(EMS-4059): task list - declarations - modern slavery * feat(EMS-4059): fix/update e2e tests * feat(EMS-4059): fix/udpate e2e test * feat(EMS-4060): declarations - modern slavery - change answers (#3438) * style(EMS-4040-4044-4047): declarations - modern slavery - external links (#3439) * feat(EMS-4087): application submission - small export builder - non gbp (#3442) * feat(EMS-4086): add apim currencies exchange helper * feat(EMS-4087): update application submission template id logic * feat(EMS-4086-4087): fix/update currency exchange logic * feat(EMS-4086-4087): add e2e test * chore(EMS-4086): improve unit test coverage * feat(EMS-4086): fix typo * feat(EMS-4086-4087): improve e2e coverage * feat(EMS-4086): fix/update unit test * feat(EMS-4086): improve application submission template id logic * feat(EMS-4063): declarations - modern slavery - textarea edge cases (#3440) * feat(EMS-4063): declarations - modern slavery - handle textarea edge cases * chore(EMS-4068): fix/update cannot skip flow logic * feat(EMS-4063): fix/update textarea data saving * feat(EMS-4063-4068): fix/update e2e tests * fix(EMS-4088): application submission - small export builder calculation (#3444) * feat(EMS-4026): application submission - xlsx - modern slavery fields * feat(EMS-4026): fix typo * chore(EMS-4089): merge main into main-iterations-2 (#3445) * chore(EMS-3966): update dependabot to run during non working hours (#3278) * chore(EMS-3966): update dependabot to run during non working hours * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run monthly * fix(EMS-3988): quote tool - type of policy - hint text * chore(main): release 2.36.1 (#3300) * fix(EMS-3988): regenerate api schema (#3301) * chore(main): release 2.36.2 (#3302) * fix(EMS-3988): apply - type of policy - hint text (#3305) * chore(main): release 2.36.3 (#3306) * chore(deps): bump dependencies * chore(EMS-4019): account creation/sign in checks - dev environment (#3345) * chore(EMS-4019): account creation/sign in checks - dev environment * chore(EMS-4019): remove commented code * chore(EMS-4019): update afterAll * chore(tests): fix failing date test * chore(EMS-4031): test dependabot changes (#3350) * chore(EMS-4031): added restriction to package verions in package.jsons * chore(EMS-4031): updated package.lock.json * chore(EMS-4031): change to 1600 * chore(EMS-4031): revert package.json and add ignores to dependabot.yml * chore(EMS-4031): add ignores to dependabot.yml * chore(EMS-4031): changed dependabot time * chore(EMS-4031): add ignores to dependabot.yml (#3388) * chore(EMS-4031): add ignores to dependabot.yml (#3398) Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * chore(EMS-4031): reverts timing changes to dependabot.yml * chore(deps): bump dependencies * chore(EMS-4031): combine dependabot directories into 1 * chore(deps): bump dependencies * chore(EMS-4031): changed dependabot npm schedule to monthly (#3429) Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * chore(deps): remove mysql2 * chore(deps): bump dockerfile node alpine version --------- Co-authored-by: Abhi Markan <32125108+abhi-markan@users.noreply.github.com> Co-authored-by: zainZzKk <51957827+Zainzzkk@users.noreply.github.com> Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * chore(EMS-4058): application submission - declarations - e2e improvements (#3443) * chore(EMS-4058): application submission - declarations e2e improvements * chore(EMS-4058): improve e2e test description * chore(EMS-4058): fix/update e2e tests * chore(EMS-4058): fix/update e2e tests * chore(EMS-4058): fix/update e2e tests * chore(EMS-4058): fix/update e2e test * chore(EMS-4058): fix/update e2e test * chore(EMS-4058): update todo comment * chore(EMS-4095): merge main-iterations-2 into main (#3447) * chore(EMS-3957): dry countries, currencies calls (#3219) * chore(EMS-3957): create new getApimCountriesAndCurrencies graphql resolver * chore(EMS-3957): create getCountriesAndCurrencies graphql resolver * chore(EMS-3957): update ui controller to use getCountriesAndCurrencies query * chore(ui): remove unused gql query * chore(ui): remove unused gql query * chore(EMS-3957): improve unit test coverage * chore(EMS-3957): address todo comment * chore(EMS-3957): fix gql resolver, documentation improvements * chore(EMS-3957): fix unit test * chore(EMS-3957): fix/update unit test * chore(EMS-3957): fix/update countries/currencies queries * chore(EMS-3957): fix typo * chore(EMS-3957): simplify unit tests * chore(EMS-3957): fix/update unit test * chore(EMS-3810): dry cypress commands for empty field values (#3249) * chore(EMS-3810): dry cypress commands for empty field values * chore(EMS-3810): fix/update cypress command * chore(EMS-3968): rename formToStopAt cypress command params (#3290) * chore(EMS-3968): rename formToStopAt cypress command params * chore(EMS-3968): rename formToStopAt cypress command params * chore(deps): bump dependencies (#3276) * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(EMS-3950): remove mysql2 package * chore(deps): bump dependencies * chore(EMS-3970): add missing %o to console error logs (#3293) * chore(EMS-3971): simplify some pageVariables, add documentation (#3294) * chore(EMS-3971): add missing pageVariables documentation, remove POST_ROUTES * chore(EMS-3971): add missing pageVariables documentation, remove POST_ROUTES * chore(EMS-3980): remove unnecessary 'should exist' e2e assertions (#3296) * chore(EMS-4005): remove unnecessary expectedErrorsCount params (#3320) * chore(EMS-3983): dry heading caption cypress selectors (#3298) * chore(EMS-3983): create HEADING_CAPTION data-cy core page variable * chore(EMS-3983): remove duplicate headingCaption cypress selector * chore(EMS-3983): fix types * chore(EMS-3983): fix/update e2e tests * chore(EMS-3539): improve xlsx styled column functions (#3251) * chore(EMS-3539): improve xlsx styled column functions * chore(EMS-3539): improve xlsx styled column functions * chore(EMS-3539): improve xlsx generation functions * chore(EMS-3539): add missing unit test * chore(EMS-3539): improve documentation * chore(EMS-3539): fix/update unit test * chore(EMS-3539): fix typo * chore(tests): fix date related unit test * chore(EMS-3960): improve country mapping helper functions (#3246) * chore(EMS-3960): improve cis country mapping helpers * chore(EMS-3960): improve cis country mapping helpers * chore(EMS-3960): improve cis country mapping helpers * chore(EMS-3960): cis mapping - rename riskCategory to esraClassification * chore(EMS-3960): simplify cis mapping function * chore(EMS-3960): fix merge/linting issue * chore(EMS-3960): rename all instances of riskCategory to esraClassification * chore(EMS-3960): remove any type * chore(EMS-3960): simplify cis mapping function * chore(EMS-3960): revert cis mapping function changes * chore(EMS-4001): merge main into main-iterations-2 (#3311) * chore(EMS-3966): update dependabot to run during non working hours (#3278) * chore(EMS-3966): update dependabot to run during non working hours * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run monthly * fix(EMS-3988): quote tool - type of policy - hint text * chore(main): release 2.36.1 (#3300) * fix(EMS-3988): regenerate api schema (#3301) * chore(main): release 2.36.2 (#3302) * fix(EMS-3988): apply - type of policy - hint text (#3305) * chore(main): release 2.36.3 (#3306) * chore(EMS-4019): account creation/sign in checks - dev environment (#3345) * chore(EMS-4019): account creation/sign in checks - dev environment * chore(EMS-4019): remove commented code * chore(EMS-4019): update afterAll * chore(tests): fix failing date test --------- Co-authored-by: Abhi Markan <32125108+abhi-markan@users.noreply.github.com> * feat(EMS-3993): multiple contract policy - small export builder content (#3372) * feat(EMS-3993): multiple contract policy export value - small export builder content * chore(EMS-3993): align application version constants * feat(EMS-3993): documentation improvement * chore(EMS-3969): align test descriptions (#3291) * chore(EMS-3969): align success boolean test descriptions * chore(EMS-3969): align 'render' test descriptions * chore(EMS-3969): align test descriptions * chore(EMS-3969): align test descriptions * chore(EMS-3969): fix typos * chore(EMS-3969): update various e2e test descriptions * feat(EMS-4000): application submission - conditional email template (#3397) * feat(EMS-4000): application submission - conditional email template * feat(EMS-4000): update email template id constant * feat(EMS-4000): application submission - conditional email template * feat(EMS-4000): improve e2e test coverage * feat(EMS-4000): remove commented code * feat(EMS-4000): content string improvements, align application versions * feat(EMS-4000): fix typo * feat(EMS-4000): fix typo * chore(docs): add missing documentation * feat(EMS-4000): fix unit tests * feat(EMS-4087): application submission - small export builder - non gbp (#3442) * feat(EMS-4086): add apim currencies exchange helper * feat(EMS-4087): update application submission template id logic * feat(EMS-4086-4087): fix/update currency exchange logic * feat(EMS-4086-4087): add e2e test * chore(EMS-4086): improve unit test coverage * feat(EMS-4086): fix typo * feat(EMS-4086-4087): improve e2e coverage * feat(EMS-4086): fix/update unit test * feat(EMS-4086): improve application submission template id logic * fix(EMS-4088): application submission - small export builder calculation (#3444) * chore(EMS-4089): merge main into main-iterations-2 (#3445) * chore(EMS-3966): update dependabot to run during non working hours (#3278) * chore(EMS-3966): update dependabot to run during non working hours * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run monthly * fix(EMS-3988): quote tool - type of policy - hint text * chore(main): release 2.36.1 (#3300) * fix(EMS-3988): regenerate api schema (#3301) * chore(main): release 2.36.2 (#3302) * fix(EMS-3988): apply - type of policy - hint text (#3305) * chore(main): release 2.36.3 (#3306) * chore(deps): bump dependencies * chore(EMS-4019): account creation/sign in checks - dev environment (#3345) * chore(EMS-4019): account creation/sign in checks - dev environment * chore(EMS-4019): remove commented code * chore(EMS-4019): update afterAll * chore(tests): fix failing date test * chore(EMS-4031): test dependabot changes (#3350) * chore(EMS-4031): added restriction to package verions in package.jsons * chore(EMS-4031): updated package.lock.json * chore(EMS-4031): change to 1600 * chore(EMS-4031): revert package.json and add ignores to dependabot.yml * chore(EMS-4031): add ignores to dependabot.yml * chore(EMS-4031): changed dependabot time * chore(EMS-4031): add ignores to dependabot.yml (#3388) * chore(EMS-4031): add ignores to dependabot.yml (#3398) Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * chore(EMS-4031): reverts timing changes to dependabot.yml * chore(deps): bump dependencies * chore(EMS-4031): combine dependabot directories into 1 * chore(deps): bump dependencies * chore(EMS-4031): changed dependabot npm schedule to monthly (#3429) Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * chore(deps): remove mysql2 * chore(deps): bump dockerfile node alpine version --------- Co-authored-by: Abhi Markan <32125108+abhi-markan@users.noreply.github.com> Co-authored-by: zainZzKk <51957827+Zainzzkk@users.noreply.github.com> Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> --------- Co-authored-by: Abhi Markan <32125108+abhi-markan@users.noreply.github.com> Co-authored-by: zainZzKk <51957827+Zainzzkk@users.noreply.github.com> Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * feat(EMS-4035): declarations - modern slavery - data migration (#3408) * feat(EMS-4035-4042): declarations - modern slavery - data migration * feat(EMS-4035-4042): fix typo * feat(EMS-4035-4042): fix typo * feat(EMS-4035): update data migration script * feat(EMS-4035): fix data migration issues * feat(EMS-4035): update README.md * feat(EMS-4035): data migration - application version * feat(EMS-4035): data migration - clean up * feat(EMS-4035): update declaration versions * feat(EMS-4035): data migration - non submitted applications only * feat(EMS-4035): data migration - clean up * feat(EMS-4035): data migration - migratedTo flag * feat(EMS-4035): update README.md * feat(EMS-4035): update sql dump, keystone schema * feat(EMS-4035): fix typo * feat(EMS-4026): update e2e tests * Revert "chore(EMS-4095): merge main-iterations-2 into main (#3447)" (#3451) This reverts commit ca4382d7f0aade43b9b4b29d8da31445c552b2c7. * chore(main): release 2.37.0 * chore(EMS-4097): fix typo * chore(EMS-4097): fix merge issue * chore(EMS-4097): merge main-country-risk-logic into main (#3456) * chore(EMS-4066): application eligibility - rename exit page (#3417) * chore(EMS-4066): application eligibility - rename contract too short exit page * chore(EMS-4066): application eligibility - rename contract too short exit page * chore(EMS-4066): fix typo * feat(EMS-3842): country risk logic - application - country rating, online support (#3416) * feat(EMS-3842): country risk logic - application - country rating * feat(EMS-3842): add country support logs to ui buyer country controllers * chore(EMS-3842): rename function * chore(EMS-3842): rename function * feat(EMS-3842): country risk logic - application - a/b rating conditions * feat(EMS-3842): country risk logic - application - c/d rating conditions * feat(EMS-3842): exit page condition - temporary comment out * feat(EMS-3842): rename country support flag * feat(EMS-3842): fix/update ui redirection logic * chore(EMS-3842): rename constant * feat(EMS-3842): update todo comment * feat(EMS-3842): address todo comments * feat(EMS-3842): address todo comment * feat(EMS-3842): fix typo * chore(EMS-3842): remove todo comment * feat(EMS-3842): fix/update tests * feat(EMS-3842): improve unit test coverage * feat(EMS-3842): fix quote generation * feat(EMS-3842): replace all instances of riskCategory * feat(EMS-3842): various code improvements/fixes * feat(EMS-3842): code improvements/fixes * feat(EMS-3842): fix/update querying issue * feat(EMS-3842): fix/update e2e tests * feat(EMS-3842): fix/update new console logs * feat(EMS-4065): country risk logic - application - no support (#3419) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * feat(EMS-4071): country risk logic - get a quote online (#3421) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * feat(EMS-4071): country risk logic - get a quote online * feat(EMS-4071): country risk logic - get a quote online * feat(EMS-4074): country risk logic - cannot get a quote (#3422) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * feat(EMS-4074): country risk logic - cannot get a quote * feat(EMS-4074): fix tests * chore(EMS-4075): country risk logic - remove canGetAQuoteOffline flag (#3423) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * chore(EMS-4075): country risk logic - remove canGetAQuoteOffline flag * feat(EMS-4073): country risk logic - remove canGetAQuoteByEmail flag (#3424) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * feat(EMS-4073): country risk logic - remove canGetAQuoteByEmail flag * feat(EMS-4073): fix typo * feat(EMS-4073): fix merge issue * chore(EMS-4076-4077): improve buyer country unit tests (#3433) * chore(EMS-4076): improve buyer country unit tests * chore(EMS-4076): improve ui country mocks * chore(EMS-4079): country risk logic - simplify/improve mapping function (#3436) * chore(EMS-4067-4070): country risk logic - e2e improvements (#3435) * chore(gql): remove unused field * chore(EMS-4067-4070): e2e fixture improvements * chore(EMS-4067-4070): buyer country e2e improvements * chore(EMS-4067-4070): e2e improvements * chore(EMS-4067): fix typo * chore(EMS-4067): fix typo * chore(EMS-4067-4070): fix/update e2e tests * feat(EMS-4067): fix/update e2e tests * chore(EMS-4067-4070): fix/update e2e tests * chore(EMS-4067-4070): fix/update e2e tests * chore(EMS-4067-4070): fix/update e2e tests * chore(EMS-4097): fix typo * chore(EMS-4097): fix merge issue * Revert "chore(EMS-4097): merge main-country-risk-logic into main (#3456)" This reverts commit 2f679c4fda21e1035f4a0f599d60ff6303903d10. * feat(EMS-4026): conditional xlsx mapping * style(EMS-4026): xlsx copy update * feat(EMS-4026): documentation improvement * chore(EMS-4026): remove commented code * feat(EMS-3842-3990): country risk logic - short term cover (#3459) * chore(docs): fix typo * feat(EMS-3842-3990): country risk logic - short term cover * feat(EMS-4026): improve unit test * feat(EMS-4026): improve unit tests * chore(main): release 2.38.0 (#3460) * chore(types): add missing declaration types * feat(EMS-4098): automated deployment * chore(api): improve getPopulatedApplication error handling * feat(EMS-4026): fix/update unit tests * chore(EMS-4026): fix/update mapPolicy issue * feat(EMS-4098): automated deployment * feat(EMS-4026): fix populated application issue * feat(EMS-4098): automated deployment * fix(EMS-4081): rename 'talk to an export finance manager' url (#3463) * chore(main): release 2.38.1 (#3464) * fix(EMS-4098): corrected project name * fix(EMS-4100): country risk logic - short term cover (#3465) * chore(main): release 2.38.2 (#3466) * feat(EMS-4098): automate deployment pipeline (#3462) * feat(EMS-4098): automated deployment * feat(EMS-4098): automated deployment * feat(EMS-4098): automated deployment * fix(EMS-4098): corrected project name --------- Co-authored-by: Abhi Markan <amarkan> * chore(main): release 2.39.0 (#3467) * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * fix(EMS-4098): fixed deployment script * feat(EMS-4026): improve objectHasKeysAndValues checks * feat(EMS-4026): fix typo * fix(EMS-4101): update gov integrity hash (#3472) * chore(main): release 2.39.1 (#3471) * fix(EMS-4100): country risk logic - quote - no online support * chore(naming): rename 'buyer body' to 'type of buyer' * fix(EMS-4100): fix typo * fix(EMS-4100): fix typo * fix(EMS-4100): fix/update tests * fix(EMS-4100): fix typo * chore(EMS-4121): disable small export builder functionality * chore(EMS-4121): fix typo * chore(EMS-4121): remove commented code * chore(main): release 2.39.2 (#3479) * fix(EMS-4098): deployment pipeline update (#3480) Co-authored-by: Abhi Markan <amarkan> * chore(main): release 2.39.3 (#3481) * fix(EMS-4125): updated keystone config (#3483) * chore(main): release 2.39.4 (#3484) * chore(deps): dependencies updates (#3488) * chore(deps): dependencies updates * chore(deps): dependencies updates * chore(deps): updatede deployment branch reference --------- Co-authored-by: Abhi Markan <amarkan> * style(EMS-4136): declarations - content iterations (#3490) * style(EMS-4136): declarations - modern slavery - content iterations * style(EMS-4136): fix typo * style(EMS-4136): content update * feat(EMS-4134): add additional security routes (#3489) * feat(EMS-4134): added additional routes * feat(EMS-4134): refactored code * fix(DTFS2-7771): updated docstrings * chore(EMS-4134): dependencies updates * feat(EMS-4134): added routes to e2e constants * feat(EMS-4134): added controller unit test cases * feat(EMS-4134): removed arrange-act-assert test pattern comments * feat(EMS-4134): added routes unit test cases * feat(EMS-4134): added routes unit test cases * feat(EMS-4134): code consistency * feat(EMS-4134): minor naming convention updates --------- Co-authored-by: Abhi Markan <amarkan> * chore(main): release 2.40.0 (#3493) * fix(EMS-4137-4138): declarations - modern slavery - form validation (#3492) * fix(EMS-4317): declarations - modern slavery - error mssages * fix(EMS-4137): declarations - modern slavery - validation - submitted values * chore(docs): improve declarations - modern slavery nunjucks documentation * fix(EMS-4137-4138): fix typo * fix(EMS-4138): declarations - modern slavery - error messages (#3496) * chore(EMS-4142): merge main into main-declarations-modern-slavery (#3495) * chore(EMS-3957): dry countries, currencies calls (#3219) * chore(EMS-3957): create new getApimCountriesAndCurrencies graphql resolver * chore(EMS-3957): create getCountriesAndCurrencies graphql resolver * chore(EMS-3957): update ui controller to use getCountriesAndCurrencies query * chore(ui): remove unused gql query * chore(ui): remove unused gql query * chore(EMS-3957): improve unit test coverage * chore(EMS-3957): address todo comment * chore(EMS-3957): fix gql resolver, documentation improvements * chore(EMS-3957): fix unit test * chore(EMS-3957): fix/update unit test * chore(EMS-3957): fix/update countries/currencies queries * chore(EMS-3957): fix typo * chore(EMS-3957): simplify unit tests * chore(EMS-3957): fix/update unit test * chore(EMS-3810): dry cypress commands for empty field values (#3249) * chore(EMS-3810): dry cypress commands for empty field values * chore(EMS-3810): fix/update cypress command * chore(EMS-3968): rename formToStopAt cypress command params (#3290) * chore(EMS-3968): rename formToStopAt cypress command params * chore(EMS-3968): rename formToStopAt cypress command params * chore(deps): bump dependencies (#3276) * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(EMS-3950): remove mysql2 package * chore(deps): bump dependencies * chore(EMS-3970): add missing %o to console error logs (#3293) * chore(EMS-3971): simplify some pageVariables, add documentation (#3294) * chore(EMS-3971): add missing pageVariables documentation, remove POST_ROUTES * chore(EMS-3971): add missing pageVariables documentation, remove POST_ROUTES * chore(EMS-3980): remove unnecessary 'should exist' e2e assertions (#3296) * chore(EMS-4005): remove unnecessary expectedErrorsCount params (#3320) * chore(deps): bump dependencies * chore(EMS-3983): dry heading caption cypress selectors (#3298) * chore(EMS-3983): create HEADING_CAPTION data-cy core page variable * chore(EMS-3983): remove duplicate headingCaption cypress selector * chore(EMS-3983): fix types * chore(EMS-3983): fix/update e2e tests * chore(EMS-3539): improve xlsx styled column functions (#3251) * chore(EMS-3539): improve xlsx styled column functions * chore(EMS-3539): improve xlsx styled column functions * chore(EMS-3539): improve xlsx generation functions * chore(EMS-3539): add missing unit test * chore(EMS-3539): improve documentation * chore(EMS-3539): fix/update unit test * chore(EMS-3539): fix typo * chore(tests): fix date related unit test * chore(EMS-3960): improve country mapping helper functions (#3246) * chore(EMS-3960): improve cis country mapping helpers * chore(EMS-3960): improve cis country mapping helpers * chore(EMS-3960): improve cis country mapping helpers * chore(EMS-3960): cis mapping - rename riskCategory to esraClassification * chore(EMS-3960): simplify cis mapping function * chore(EMS-3960): fix merge/linting issue * chore(EMS-3960): rename all instances of riskCategory to esraClassification * chore(EMS-3960): remove any type * chore(EMS-3960): simplify cis mapping function * chore(EMS-3960): revert cis mapping function changes * chore(EMS-4001): merge main into main-iterations-2 (#3311) * chore(EMS-3966): update dependabot to run during non working hours (#3278) * chore(EMS-3966): update dependabot to run during non working hours * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run monthly * fix(EMS-3988): quote tool - type of policy - hint text * chore(main): release 2.36.1 (#3300) * fix(EMS-3988): regenerate api schema (#3301) * chore(main): release 2.36.2 (#3302) * fix(EMS-3988): apply - type of policy - hint text (#3305) * chore(main): release 2.36.3 (#3306) * chore(EMS-4019): account creation/sign in checks - dev environment (#3345) * chore(EMS-4019): account creation/sign in checks - dev environment * chore(EMS-4019): remove commented code * chore(EMS-4019): update afterAll * chore(tests): fix failing date test --------- Co-authored-by: Abhi Markan <32125108+abhi-markan@users.noreply.github.com> * chore(EMS-4031): reverts timing changes to dependabot.yml * feat(EMS-3993): multiple contract policy - small export builder content (#3372) * feat(EMS-3993): multiple contract policy export value - small export builder content * chore(EMS-3993): align application version constants * feat(EMS-3993): documentation improvement * chore(EMS-3969): align test descriptions (#3291) * chore(EMS-3969): align success boolean test descriptions * chore(EMS-3969): align 'render' test descriptions * chore(EMS-3969): align test descriptions * chore(EMS-3969): align test descriptions * chore(EMS-3969): fix typos * chore(EMS-3969): update various e2e test descriptions * feat(EMS-4000): application submission - conditional email template (#3397) * feat(EMS-4000): application submission - conditional email template * feat(EMS-4000): update email template id constant * feat(EMS-4000): application submission - conditional email template * feat(EMS-4000): improve e2e test coverage * feat(EMS-4000): remove commented code * feat(EMS-4000): content string improvements, align application versions * feat(EMS-4000): fix typo * feat(EMS-4000): fix typo * chore(docs): add missing documentation * feat(EMS-4000): fix unit tests * chore(EMS-4066): application eligibility - rename exit page (#3417) * chore(EMS-4066): application eligibility - rename contract too short exit page * chore(EMS-4066): application eligibility - rename contract too short exit page * chore(EMS-4066): fix typo * feat(EMS-3842): country risk logic - application - country rating, online support (#3416) * feat(EMS-3842): country risk logic - application - country rating * feat(EMS-3842): add country support logs to ui buyer country controllers * chore(EMS-3842): rename function * chore(EMS-3842): rename function * feat(EMS-3842): country risk logic - application - a/b rating conditions * feat(EMS-3842): country risk logic - application - c/d rating conditions * feat(EMS-3842): exit page condition - temporary comment out * feat(EMS-3842): rename country support flag * feat(EMS-3842): fix/update ui redirection logic * chore(EMS-3842): rename constant * feat(EMS-3842): update todo comment * feat(EMS-3842): address todo comments * feat(EMS-3842): address todo comment * feat(EMS-3842): fix typo * chore(EMS-3842): remove todo comment * feat(EMS-3842): fix/update tests * feat(EMS-3842): improve unit test coverage * feat(EMS-3842): fix quote generation * feat(EMS-3842): replace all instances of riskCategory * feat(EMS-3842): various code improvements/fixes * feat(EMS-3842): code improvements/fixes * feat(EMS-3842): fix/update querying issue * feat(EMS-3842): fix/update e2e tests * feat(EMS-3842): fix/update new console logs * chore(deps): bump dependencies * chore(EMS-4031): combine dependabot directories into 1 * chore(deps): bump dependencies * feat(EMS-4065): country risk logic - application - no support (#3419) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * chore(EMS-4031): changed dependabot npm schedule to monthly (#3429) Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * feat(EMS-4071): country risk logic - get a quote online (#3421) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * feat(EMS-4071): country risk logic - get a quote online * feat(EMS-4071): country risk logic - get a quote online * chore(deps): remove mysql2 * chore(deps): bump dockerfile node alpine version * feat(EMS-4074): country risk logic - cannot get a quote (#3422) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * feat(EMS-4074): country risk logic - cannot get a quote * feat(EMS-4074): fix tests * chore(EMS-4075): country risk logic - remove canGetAQuoteOffline flag (#3423) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * chore(EMS-4075): country risk logic - remove canGetAQuoteOffline flag * feat(EMS-4073): country risk logic - remove canGetAQuoteByEmail flag (#3424) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * feat(EMS-4073): country risk logic - remove canGetAQuoteByEmail flag * feat(EMS-4073): fix typo * feat(EMS-4073): fix merge issue * chore(EMS-4076-4077): improve buyer country unit tests (#3433) * chore(EMS-4076): improve buyer country unit tests * chore(EMS-4076): improve ui country mocks * chore(EMS-4079): country risk logic - simplify/improve mapping function (#3436) * chore(EMS-4067-4070): country risk logic - e2e improvements (#3435) * chore(gql): remove unused field * chore(EMS-4067-4070): e2e fixture improvements * chore(EMS-4067-4070): buyer country e2e improvements * chore(EMS-4067-4070): e2e improvements * chore(EMS-4067): fix typo * chore(EMS-4067): fix typo * chore(EMS-4067-4070): fix/update e2e tests * feat(EMS-4067): fix/update e2e tests * chore(EMS-4067-4070): fix/update e2e tests * chore(EMS-4067-4070): fix/update e2e tests * chore(EMS-4067-4070): fix/update e2e tests * feat(EMS-4087): application submission - small export builder - non gbp (#3442) * feat(EMS-4086): add apim currencies exchange helper * feat(EMS-4087): update application submission template id logic * feat(EMS-4086-4087): fix/update currency exchange logic * feat(EMS-4086-4087): add e2e test * chore(EMS-4086): improve unit test coverage * feat(EMS-4086): fix typo * feat(EMS-4086-4087): improve e2e coverage * feat(EMS-4086): fix/update unit test * feat(EMS-4086): improve application submission template id logic * fix(EMS-4088): application submission - small export builder calculation (#3444) * chore(EMS-4089): merge main into main-iterations-2 (#3445) * chore(EMS-3966): update dependabot to run during non working hours (#3278) * chore(EMS-3966): update dependabot to run during non working hours * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run monthly * fix(EMS-3988): quote tool - type of policy - hint text * chore(main): release 2.36.1 (#3300) * fix(EMS-3988): regenerate api schema (#3301) * chore(main): release 2.36.2 (#3302) * fix(EMS-3988): apply - type of policy - hint text (#3305) * chore(main): release 2.36.3 (#3306) * chore(deps): bump dependencies * chore(EMS-4019): account creation/sign in checks - dev environment (#3345) * chore(EMS-4019): account creation/sign in checks - dev environment * chore(EMS-4019): remove commented code * chore(EMS-4019): update afterAll * chore(tests): fix failing date test * chore(EMS-4031): test dependabot changes (#3350) * chore(EMS-4031): added restriction to package verions in package.jsons * chore(EMS-4031): updated package.lock.json * chore(EMS-4031): change to 1600 * chore(EMS-4031): revert package.json and add ignores to dependabot.yml * chore(EMS-4031): add ignores to dependabot.yml * chore(EMS-4031): changed dependabot time * chore(EMS-4031): add ignores to dependabot.yml (#3388) * chore(EMS-4031): add ignores to dependabot.yml (#3398) Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * chore(EMS-4031): reverts timing changes to dependabot.yml * chore(deps): bump dependencies * chore(EMS-4031): combine dependabot directories into 1 * chore(deps): bump dependencies * chore(EMS-4031): changed dependabot npm schedule to monthly (#3429) Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * chore(deps): remove mysql2 * chore(deps): bump dockerfile node alpine version --------- Co-authored-by: Abhi Markan <32125108+abhi-markan@users.noreply.github.com> Co-authored-by: zainZzKk <51957827+Zainzzkk@users.noreply.github.com> Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * chore(EMS-4095): merge main-iterations-2 into main (#3447) * chore(EMS-3957): dry countries, currencies calls (#3219) * chore(EMS-3957): create new getApimCountriesAndCurrencies graphql resolver * chore(EMS-3957): create getCountriesAndCurrencies graphql resolver * chore(EMS-3957): update ui controller to use getCountriesAndCurrencies query * chore(ui): remove unused gql query * chore(ui): remove unused gql query * chore(EMS-3957): improve unit test coverage * chore(EMS-3957): address todo comment * chore(EMS-3957): fix gql resolver, documentation improvements * chore(EMS-3957): fix unit test * chore(EMS-3957): fix/update unit test * chore(EMS-3957): fix/update countries/currencies queries * chore(EMS-3957): fix typo * chore(EMS-3957): simplify unit tests * chore(EMS-3957): fix/update unit test * chore(EMS-3810): dry cypress commands for empty field values (#3249) * chore(EMS-3810): dry cypress commands for empty field values * chore(EMS-3810): fix/update cypress command * chore(EMS-3968): rename formToStopAt cypress command params (#3290) * chore(EMS-3968): rename formToStopAt cypress command params * chore(EMS-3968): rename formToStopAt cypress command params * chore(deps): bump dependencies (#3276) * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(deps): bump dependencies * chore(EMS-3950): remove mysql2 package * chore(deps): bump dependencies * chore(EMS-3970): add missing %o to console error logs (#3293) * chore(EMS-3971): simplify some pageVariables, add documentation (#3294) * chore(EMS-3971): add missing pageVariables documentation, remove POST_ROUTES * chore(EMS-3971): add missing pageVariables documentation, remove POST_ROUTES * chore(EMS-3980): remove unnecessary 'should exist' e2e assertions (#3296) * chore(EMS-4005): remove unnecessary expectedErrorsCount params (#3320) * chore(EMS-3983): dry heading caption cypress selectors (#3298) * chore(EMS-3983): create HEADING_CAPTION data-cy core page variable * chore(EMS-3983): remove duplicate headingCaption cypress selector * chore(EMS-3983): fix types * chore(EMS-3983): fix/update e2e tests * chore(EMS-3539): improve xlsx styled column functions (#3251) * chore(EMS-3539): improve xlsx styled column functions * chore(EMS-3539): improve xlsx styled column functions * chore(EMS-3539): improve xlsx generation functions * chore(EMS-3539): add missing unit test * chore(EMS-3539): improve documentation * chore(EMS-3539): fix/update unit test * chore(EMS-3539): fix typo * chore(tests): fix date related unit test * chore(EMS-3960): improve country mapping helper functions (#3246) * chore(EMS-3960): improve cis country mapping helpers * chore(EMS-3960): improve cis country mapping helpers * chore(EMS-3960): improve cis country mapping helpers * chore(EMS-3960): cis mapping - rename riskCategory to esraClassification * chore(EMS-3960): simplify cis mapping function * chore(EMS-3960): fix merge/linting issue * chore(EMS-3960): rename all instances of riskCategory to esraClassification * chore(EMS-3960): remove any type * chore(EMS-3960): simplify cis mapping function * chore(EMS-3960): revert cis mapping function changes * chore(EMS-4001): merge main into main-iterations-2 (#3311) * chore(EMS-3966): update dependabot to run during non working hours (#3278) * chore(EMS-3966): update dependabot to run during non working hours * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run monthly * fix(EMS-3988): quote tool - type of policy - hint text * chore(main): release 2.36.1 (#3300) * fix(EMS-3988): regenerate api schema (#3301) * chore(main): release 2.36.2 (#3302) * fix(EMS-3988): apply - type of policy - hint text (#3305) * chore(main): release 2.36.3 (#3306) * chore(EMS-4019): account creation/sign in checks - dev environment (#3345) * chore(EMS-4019): account creation/sign in checks - dev environment * chore(EMS-4019): remove commented code * chore(EMS-4019): update afterAll * chore(tests): fix failing date test --------- Co-authored-by: Abhi Markan <32125108+abhi-markan@users.noreply.github.com> * feat(EMS-3993): multiple contract policy - small export builder content (#3372) * feat(EMS-3993): multiple contract policy export value - small export builder content * chore(EMS-3993): align application version constants * feat(EMS-3993): documentation improvement * chore(EMS-3969): align test descriptions (#3291) * chore(EMS-3969): align success boolean test descriptions * chore(EMS-3969): align 'render' test descriptions * chore(EMS-3969): align test descriptions * chore(EMS-3969): align test descriptions * chore(EMS-3969): fix typos * chore(EMS-3969): update various e2e test descriptions * feat(EMS-4000): application submission - conditional email template (#3397) * feat(EMS-4000): application submission - conditional email template * feat(EMS-4000): update email template id constant * feat(EMS-4000): application submission - conditional email template * feat(EMS-4000): improve e2e test coverage * feat(EMS-4000): remove commented code * feat(EMS-4000): content string improvements, align application versions * feat(EMS-4000): fix typo * feat(EMS-4000): fix typo * chore(docs): add missing documentation * feat(EMS-4000): fix unit tests * feat(EMS-4087): application submission - small export builder - non gbp (#3442) * feat(EMS-4086): add apim currencies exchange helper * feat(EMS-4087): update application submission template id logic * feat(EMS-4086-4087): fix/update currency exchange logic * feat(EMS-4086-4087): add e2e test * chore(EMS-4086): improve unit test coverage * feat(EMS-4086): fix typo * feat(EMS-4086-4087): improve e2e coverage * feat(EMS-4086): fix/update unit test * feat(EMS-4086): improve application submission template id logic * fix(EMS-4088): application submission - small export builder calculation (#3444) * chore(EMS-4089): merge main into main-iterations-2 (#3445) * chore(EMS-3966): update dependabot to run during non working hours (#3278) * chore(EMS-3966): update dependabot to run during non working hours * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run weekly * chore(EMS-3966): update dependabot to run monthly * fix(EMS-3988): quote tool - type of policy - hint text * chore(main): release 2.36.1 (#3300) * fix(EMS-3988): regenerate api schema (#3301) * chore(main): release 2.36.2 (#3302) * fix(EMS-3988): apply - type of policy - hint text (#3305) * chore(main): release 2.36.3 (#3306) * chore(deps): bump dependencies * chore(EMS-4019): account creation/sign in checks - dev environment (#3345) * chore(EMS-4019): account creation/sign in checks - dev environment * chore(EMS-4019): remove commented code * chore(EMS-4019): update afterAll * chore(tests): fix failing date test * chore(EMS-4031): test dependabot changes (#3350) * chore(EMS-4031): added restriction to package verions in package.jsons * chore(EMS-4031): updated package.lock.json * chore(EMS-4031): change to 1600 * chore(EMS-4031): revert package.json and add ignores to dependabot.yml * chore(EMS-4031): add ignores to dependabot.yml * chore(EMS-4031): changed dependabot time * chore(EMS-4031): add ignores to dependabot.yml (#3388) * chore(EMS-4031): add ignores to dependabot.yml (#3398) Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * chore(EMS-4031): reverts timing changes to dependabot.yml * chore(deps): bump dependencies * chore(EMS-4031): combine dependabot directories into 1 * chore(deps): bump dependencies * chore(EMS-4031): changed dependabot npm schedule to monthly (#3429) Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * chore(deps): remove mysql2 * chore(deps): bump dockerfile node alpine version --------- Co-authored-by: Abhi Markan <32125108+abhi-markan@users.noreply.github.com> Co-authored-by: zainZzKk <51957827+Zainzzkk@users.noreply.github.com> Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> --------- Co-authored-by: Abhi Markan <32125108+abhi-markan@users.noreply.github.com> Co-authored-by: zainZzKk <51957827+Zainzzkk@users.noreply.github.com> Co-authored-by: Zain Kassam <zkassam@ukexportfinance.gov.uk> * Revert "chore(EMS-4095): merge main-iterations-2 into main (#3447)" (#3451) This reverts commit ca4382d7f0aade43b9b4b29d8da31445c552b2c7. * chore(main): release 2.37.0 * chore(EMS-4097): fix typo * chore(EMS-4097): fix merge issue * chore(EMS-4097): merge main-country-risk-logic into main (#3456) * chore(EMS-4066): application eligibility - rename exit page (#3417) * chore(EMS-4066): application eligibility - rename contract too short exit page * chore(EMS-4066): application eligibility - rename contract too short exit page * chore(EMS-4066): fix typo * feat(EMS-3842): country risk logic - application - country rating, online support (#3416) * feat(EMS-3842): country risk logic - application - country rating * feat(EMS-3842): add country support logs to ui buyer country controllers * chore(EMS-3842): rename function * chore(EMS-3842): rename function * feat(EMS-3842): country risk logic - application - a/b rating conditions * feat(EMS-3842): country risk logic - application - c/d rating conditions * feat(EMS-3842): exit page condition - temporary comment out * feat(EMS-3842): rename country support flag * feat(EMS-3842): fix/update ui redirection logic * chore(EMS-3842): rename constant * feat(EMS-3842): update todo comment * feat(EMS-3842): address todo comments * feat(EMS-3842): address todo comment * feat(EMS-3842): fix typo * chore(EMS-3842): remove todo comment * feat(EMS-3842): fix/update tests * feat(EMS-3842): improve unit test coverage * feat(EMS-3842): fix quote generation * feat(EMS-3842): replace all instances of riskCategory * feat(EMS-3842): various code improvements/fixes * feat(EMS-3842): code improvements/fixes * feat(EMS-3842): fix/update querying issue * feat(EMS-3842): fix/update e2e tests * feat(EMS-3842): fix/update new console logs * feat(EMS-4065): country risk logic - application - no support (#3419) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * feat(EMS-4071): country risk logic - get a quote online (#3421) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * feat(EMS-4071): country risk logic - get a quote online * feat(EMS-4071): country risk logic - get a quote online * feat(EMS-4074): country risk logic - cannot get a quote (#3422) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commented code * feat(EMS-4065): rename SHORT_TERM_COVER_AVAILABLE to SHORT_TERM_COVER * feat(EMS-4065): fix typo * feat(EMS-4065): minor code improvement * feat(EMS-4065): code improvement * feat(EMS-4065): fix/update e2e tests * feat(EMS-4074): country risk logic - cannot get a quote * feat(EMS-4074): fix tests * chore(EMS-4075): country risk logic - remove canGetAQuoteOffline flag (#3423) * feat(EMS-4065): country risk logic - application - no support * feat(EMS-4065): fix/update e2e tests * chore(EMS-4065): remove commen…
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
chore
Chore
enhancement
New feature or request
feature
New functionality
tech
Technical debt/improvements
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introduction ✏️
This PR updates the textarea mapping functionality so that if any of the following is submitted in the "Modern slavery" textareas, the data will save and render correctly:
Resolution ✔️
replaceCharacterCodesWithCharacters
mapTextareaFields
STRING_NUMBER_FIELDS
Miscellaneous ➕